add generic to pass undefined type
This commit is contained in:
parent
b6b7d1e66c
commit
f8d0a91776
@ -89,7 +89,7 @@ export class MapStore<K, V> extends Map<K, V> implements Readable<Map<K, V>> {
|
||||
}
|
||||
}
|
||||
|
||||
return readable(initStoreValue, (set) => {
|
||||
return readable<T | undefined>(initStoreValue, (set) => {
|
||||
const storeByKey = this.getStore(key);
|
||||
|
||||
let unsubscribeDeepStore: Unsubscriber | undefined;
|
||||
|
Loading…
Reference in New Issue
Block a user