Skip to content

Commit 155e76a

Browse files
committed
More flexibly types for loadValue()
1 parent 43ad9bf commit 155e76a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sync-map-template/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ export type LoadedValue<Type extends { isLoading: boolean }> = {
290290
} & Type
291291

292292
type LoadableStore = {
293-
readonly loading: Promise<void>
293+
readonly loading: Promise<unknown>
294294
} & ReadableAtom<{ isLoading: boolean }>
295295

296296
/**

0 commit comments

Comments
 (0)