Skip to content

Commit 4635937

Browse files
committed
Fix type name
1 parent 5b30bad commit 4635937

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sync-map-template/index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { SyncMapValues } from '@logux/actions'
22
import type { Action, Meta } from '@logux/core'
3-
import type { MapCreator, MapStore, StoreValue } from 'nanostores'
3+
import type { MapCreator, MapStore, ReadableAtom, StoreValue } from 'nanostores'
44

55
import type { Client } from '../client/index.js'
66
import type { FilterValue, LoadedFilterValue } from '../create-filter/index.js'
@@ -291,7 +291,7 @@ export type LoadedValue<Type extends { isLoading: boolean }> = {
291291

292292
type LoadableStore = {
293293
readonly loading: Promise<void>
294-
} & ReadableStore<{ isLoading: boolean }>
294+
} & ReadableAtom<{ isLoading: boolean }>
295295

296296
/**
297297
* Return store’s value if store is loaded or wait until store will be loaded

0 commit comments

Comments
 (0)