Skip to content

Commit 03e5c7d

Browse files
authored
fix(types): load and change hook are now optional on smart action (#886)
1 parent 4ffd75c commit 03e5c7d

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
@@ -324,8 +324,8 @@ export interface SmartActionChangeHook {
324324
}
325325

326326
export interface SmartActionHooks {
327-
load: SmartActionLoadHook;
328-
change: Record<string, SmartActionChangeHook>;
327+
load?: SmartActionLoadHook;
328+
change?: Record<string, SmartActionChangeHook>;
329329
}
330330

331331
export interface SmartActionOptions {

0 commit comments

Comments
 (0)