Skip to content

Commit

Permalink
fix(async): change type of dataAtom in withDataAtom operator without …
Browse files Browse the repository at this point in the history
…initState (#785)
  • Loading branch information
gaskeo authored Apr 4, 2024
1 parent 5f41ff3 commit ecf44a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/async/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const withDataAtom: {
T extends AsyncAction & {
dataAtom?: AsyncDataAtom<AsyncResp<T>>
},
>(): Fn<[T], T & { dataAtom: AtomMut<undefined | AsyncResp<T>> }>
>(): Fn<[T], T & { dataAtom: AsyncDataAtom<AsyncResp<T> | undefined> }>
<
T extends AsyncAction & {
dataAtom?: AsyncDataAtom<AsyncResp<T>>
Expand Down

0 comments on commit ecf44a6

Please sign in to comment.