Skip to content

Commit

Permalink
use deeppartial for getinput
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-bonez committed Nov 14, 2024
1 parent e535141 commit 07adf1d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sdk/base/lib/actions/setupActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export type GetInput<
> = (options: {
effects: T.Effects
}) => Promise<
null | void | undefined | (ExtractInputSpecType<A> & Record<string, any>)
| null
| void
| undefined
| (T.DeepPartial<ExtractInputSpecType<A>> & Record<string, any>)
>

export type MaybeFn<T> = T | ((options: { effects: T.Effects }) => Promise<T>)
Expand Down

0 comments on commit 07adf1d

Please sign in to comment.