File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import type { SyncMapValues } from '@logux/actions'
2
2
import type { Action , Meta } from '@logux/core'
3
- import type { MapCreator , MapStore , StoreValue } from 'nanostores'
3
+ import type { MapCreator , MapStore , ReadableAtom , StoreValue } from 'nanostores'
4
4
5
5
import type { Client } from '../client/index.js'
6
6
import type { FilterValue , LoadedFilterValue } from '../create-filter/index.js'
@@ -291,7 +291,7 @@ export type LoadedValue<Type extends { isLoading: boolean }> = {
291
291
292
292
type LoadableStore = {
293
293
readonly loading : Promise < void >
294
- } & ReadableStore < { isLoading : boolean } >
294
+ } & ReadableAtom < { isLoading : boolean } >
295
295
296
296
/**
297
297
* Return store’s value if store is loaded or wait until store will be loaded
You can’t perform that action at this time.
0 commit comments