We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b30bad commit 4635937Copy full SHA for 4635937
sync-map-template/index.d.ts
@@ -1,6 +1,6 @@
1
import type { SyncMapValues } from '@logux/actions'
2
import type { Action, Meta } from '@logux/core'
3
-import type { MapCreator, MapStore, StoreValue } from 'nanostores'
+import type { MapCreator, MapStore, ReadableAtom, StoreValue } from 'nanostores'
4
5
import type { Client } from '../client/index.js'
6
import type { FilterValue, LoadedFilterValue } from '../create-filter/index.js'
@@ -291,7 +291,7 @@ export type LoadedValue<Type extends { isLoading: boolean }> = {
291
292
type LoadableStore = {
293
readonly loading: Promise<void>
294
-} & ReadableStore<{ isLoading: boolean }>
+} & ReadableAtom<{ isLoading: boolean }>
295
296
/**
297
* Return store’s value if store is loaded or wait until store will be loaded
0 commit comments