From f2e67604e733c8ed972dc0c44567bb059914dbc1 Mon Sep 17 00:00:00 2001 From: Jaiwanth Date: Fri, 2 Jul 2021 10:49:24 +0530 Subject: [PATCH] Delint --- .../views/messages/DateSeparator.tsx | 2 +- src/utils/exportUtils/ZipStream.ts | 32 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/components/views/messages/DateSeparator.tsx b/src/components/views/messages/DateSeparator.tsx index fa363c7c4c..d66fcbf118 100644 --- a/src/components/views/messages/DateSeparator.tsx +++ b/src/components/views/messages/DateSeparator.tsx @@ -35,7 +35,7 @@ function getDaysArray(): string[] { interface IProps { ts: number; - forExport?: boolean + forExport?: boolean; } @replaceableComponent("views.messages.DateSeparator") diff --git a/src/utils/exportUtils/ZipStream.ts b/src/utils/exportUtils/ZipStream.ts index 098e2ed12c..04cd61fb06 100644 --- a/src/utils/exportUtils/ZipStream.ts +++ b/src/utils/exportUtils/ZipStream.ts @@ -55,8 +55,8 @@ class Crc32 { } type DataHelper = { - array: Uint8Array, - view: DataView, + array: Uint8Array; + view: DataView; }; const getDataHelper = (byteLength: number): DataHelper => { @@ -68,24 +68,24 @@ const getDataHelper = (byteLength: number): DataHelper => { }; type FileLike = File & { - directory: string, - comment: string, - stream(): ReadableStream, + directory: string; + comment: string; + stream(): ReadableStream; }; type ZipObj = { crc?: Crc32, - uncompressedLength: number, - compressedLength: number, - ctrl: ReadableStreamDefaultController, - writeFooter: Function, - writeHeader: Function, - reader?: ReadableStreamDefaultReader, - offset: number - header?: DataHelper, - fileLike: FileLike, - level: number, - directory: boolean, + uncompressedLength: number; + compressedLength: number; + ctrl: ReadableStreamDefaultController; + writeFooter: Function; + writeHeader: Function; + reader?: ReadableStreamDefaultReader; + offset: number; + header?: DataHelper; + fileLike: FileLike; + level: number; + directory: boolean; }; const pump = (zipObj: ZipObj) => zipObj.reader ? zipObj.reader.read().then(chunk => {