Skip to content

Commit

Permalink
feat: add shouldRender option for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebill1049 committed Sep 1, 2022
1 parent d0f65c5 commit 88e3044
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ export type ActionsOutput<
TCallback extends AnyCallback,
TActions extends AnyActions<TCallback>,
> = {
[K in keyof TActions]: (payload?: Parameters<TActions[K]>[1], options?: { skipRender: boolean }) => void;
[K in keyof TActions]: (
payload?: Parameters<TActions[K]>[1],
options?: { skipRender: boolean },
) => void;
};

export type StateMachineContextValue = {
Expand Down

0 comments on commit 88e3044

Please sign in to comment.