make parameters in update optional too

pull/7121/head
Ignatius Bagus 5 years ago committed by GitHub
parent 336872dfd7
commit c7adb02743
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,5 @@
export interface ActionReturn<Parameters = any> { export interface ActionReturn<Parameters = any> {
update?: (parameters: Parameters) => void; update?: (parameters?: Parameters) => void;
destroy?: () => void; destroy?: () => void;
} }

Loading…
Cancel
Save