- commit
- 1e24f21
- parent
- be72c77
- author
- Eric Bower
- date
- 2023-12-18 04:22:19 +0000 UTC
fix(thunks): types
1 files changed,
+1,
-1
+1,
-1
1@@ -108,7 +108,7 @@ export type CreateActionFn = () => ActionWithPayload<
2 export interface CreateAction<Ctx extends ThunkCtx = ThunkCtx>
3 extends CreateActionFn {
4 run: (
5- p: ActionWithPayload<
6+ p?: ActionWithPayload<
7 CreateActionPayload<Record<string | number | symbol, never>>
8 >,
9 ) => Operation<Ctx>;