Skip to content

Commit

Permalink
Fix type name
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Aug 6, 2024
1 parent 5b30bad commit 4635937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sync-map-template/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { SyncMapValues } from '@logux/actions'
import type { Action, Meta } from '@logux/core'
import type { MapCreator, MapStore, StoreValue } from 'nanostores'
import type { MapCreator, MapStore, ReadableAtom, StoreValue } from 'nanostores'

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

type LoadableStore = {
readonly loading: Promise<void>
} & ReadableStore<{ isLoading: boolean }>
} & ReadableAtom<{ isLoading: boolean }>

/**
* Return store’s value if store is loaded or wait until store will be loaded
Expand Down

0 comments on commit 4635937

Please sign in to comment.