Skip to content

Commit

Permalink
More flexibly types for loadValue()
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Aug 7, 2024
1 parent 43ad9bf commit 155e76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync-map-template/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export type LoadedValue<Type extends { isLoading: boolean }> = {
} & Type

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

/**
Expand Down

0 comments on commit 155e76a

Please sign in to comment.