From f8d0a917768288182c4dcdbada5ce4afe566a929 Mon Sep 17 00:00:00 2001 From: Lukas Hass Date: Thu, 3 Feb 2022 18:47:51 +0100 Subject: [PATCH] add generic to pass undefined type --- front/src/Stores/Utils/MapStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/Stores/Utils/MapStore.ts b/front/src/Stores/Utils/MapStore.ts index 54c7b793..53d2c112 100644 --- a/front/src/Stores/Utils/MapStore.ts +++ b/front/src/Stores/Utils/MapStore.ts @@ -89,7 +89,7 @@ export class MapStore extends Map implements Readable> { } } - return readable(initStoreValue, (set) => { + return readable(initStoreValue, (set) => { const storeByKey = this.getStore(key); let unsubscribeDeepStore: Unsubscriber | undefined;