Skip to content

Commit

Permalink
fix(types): load and change hook are now optional on smart action (#979)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveBunlon authored Jun 29, 2022
1 parent 93f2d32 commit 14a8ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ export interface SmartActionChangeHook {
}

export interface SmartActionHooks {
load: SmartActionLoadHook;
change: Record<string, SmartActionChangeHook>;
load?: SmartActionLoadHook;
change?: Record<string, SmartActionChangeHook>;
}

export interface SmartActionOptions {
Expand Down

0 comments on commit 14a8ba8

Please sign in to comment.