From 88e3044566e5671972a3ee882f1bbecffa7a4c50 Mon Sep 17 00:00:00 2001 From: Beier Luo Date: Thu, 1 Sep 2022 14:05:57 +1000 Subject: [PATCH] feat: add shouldRender option for actions --- src/types.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index b2e83cc..9133c66 100644 --- a/src/types.ts +++ b/src/types.ts @@ -10,7 +10,10 @@ export type ActionsOutput< TCallback extends AnyCallback, TActions extends AnyActions, > = { - [K in keyof TActions]: (payload?: Parameters[1], options?: { skipRender: boolean }) => void; + [K in keyof TActions]: ( + payload?: Parameters[1], + options?: { skipRender: boolean }, + ) => void; }; export type StateMachineContextValue = {