From ffd2a62c3f7df94365980302fef3bc3376b48182 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 3 Aug 2020 13:00:48 +0530 Subject: modularize repo, use pnpm, improve typechecking --- packages/idb-bridge/src/util/makeStoreKeyValue.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'packages/idb-bridge/src/util/makeStoreKeyValue.ts') diff --git a/packages/idb-bridge/src/util/makeStoreKeyValue.ts b/packages/idb-bridge/src/util/makeStoreKeyValue.ts index 9b33158dd..f9006ef51 100644 --- a/packages/idb-bridge/src/util/makeStoreKeyValue.ts +++ b/packages/idb-bridge/src/util/makeStoreKeyValue.ts @@ -14,7 +14,6 @@ permissions and limitations under the License. */ - import { Value, Key, KeyPath } from "./types"; import extractKey from "./extractKey"; import { DataError } from "./errors"; @@ -93,7 +92,7 @@ export function makeStoreKeyValue( key: key, value: value, updatedKeyGenerator, - } + }; } else { // (no, yes, no) key = extractKey(keyPath!, value); @@ -111,7 +110,7 @@ export function makeStoreKeyValue( key: currentKeyGenerator, value: value, updatedKeyGenerator: currentKeyGenerator + 1, - } + }; } else { // (no, no, no) throw new DataError(); -- cgit v1.2.3