π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
esl
Manav Rathi2b14f9150f6a
diff --git a/web/packages/base/kv.ts b/web/packages/base/kv.tsindex 45cf3afece..5fa20fb4ce 100644--- a/web/packages/base/kv.ts+++ b/web/packages/base/kv.ts@@ -145,6 +145,10 @@ export const _getKV = async <T extends string | number | boolean>(if (v === undefined) return undefined;if (typeof v != type)throw new Error(+ // This is just an error message, it is fine if stringification+ // produces nothing useful always, it might too in some cases.+ //+ // eslint-disable-next-line @typescript-eslint/no-base-to-string`Expected the value corresponding to key ${key} to be a ${type}, but instead got ${String(v)}`,);return v as T;