Skip to content

Commit 14a8ba8

Browse files
authored
fix(types): load and change hook are now optional on smart action (#979)
1 parent 93f2d32 commit 14a8ba8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,8 @@ export interface SmartActionChangeHook {
319319
}
320320

321321
export interface SmartActionHooks {
322-
load: SmartActionLoadHook;
323-
change: Record<string, SmartActionChangeHook>;
322+
load?: SmartActionLoadHook;
323+
change?: Record<string, SmartActionChangeHook>;
324324
}
325325

326326
export interface SmartActionOptions {

0 commit comments

Comments
 (0)