Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

lint

Manav Rathia1842be6e1b7
diff --git a/web/packages/gallery/services/upload/upload-service.ts b/web/packages/gallery/services/upload/upload-service.ts
index 8b4daa2078..9da8ad49f5 100644
--- a/web/packages/gallery/services/upload/upload-service.ts
+++ b/web/packages/gallery/services/upload/upload-service.ts
@@ -4,7 +4,7 @@
// TODO: Audit this file
/* eslint-disable @typescript-eslint/no-base-to-string */
/* eslint-disable @typescript-eslint/ban-ts-comment */
-/* eslint-disable @typescript-eslint/no-inferrable-types */
+
import { streamEncryptionChunkSize } from "ente-base/crypto/libsodium";
import type { BytesOrB64 } from "ente-base/crypto/types";
import { type CryptoWorker } from "ente-base/crypto/worker";
@@ -118,7 +118,7 @@ const multipartChunksPerPart = 5;
/** Upload files to cloud storage */
class UploadService {
private uploadURLs: ObjectUploadURL[] = [];
- private pendingUploadCount: number = 0;
+ private pendingUploadCount = 0;
private publicAlbumsCredentials: PublicAlbumsCredentials | undefined;
private activeUploadURLRefill: Promise<void> | undefined;