diff --git a/packages/async/src/index.ts b/packages/async/src/index.ts index bd93dfb74..be0ac7ed5 100644 --- a/packages/async/src/index.ts +++ b/packages/async/src/index.ts @@ -210,7 +210,7 @@ export const withDataAtom: { T extends AsyncAction & { dataAtom?: AsyncDataAtom> }, - >(): Fn<[T], T & { dataAtom: AtomMut> }> + >(): Fn<[T], T & { dataAtom: AsyncDataAtom | undefined> }> < T extends AsyncAction & { dataAtom?: AsyncDataAtom>