diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2022-05-20 17:24:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 17:24:44 +0300 |
commit | 6eb89374b80a2fd9ffb947db5e367a5b502dca6e (patch) | |
tree | 96401bb1c9b7acc0c6facd2562086aa1132a86d0 /plugins | |
parent | 737a1c8bf56e0ec9bb8ac9867767c1af5c0431a3 (diff) |
modal callabacks are not limited to a specific set of keys, but can be any string that matches an inputs role attribute value (#19238)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CoreVue/types/index.d.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/CoreVue/types/index.d.ts b/plugins/CoreVue/types/index.d.ts index 4e2cfa41e9..e229bd6937 100644 --- a/plugins/CoreVue/types/index.d.ts +++ b/plugins/CoreVue/types/index.d.ts @@ -59,11 +59,7 @@ declare global { let Piwik_Popover: PiwikPopoverGlobal; - interface ModalConfirmCallbacks { - yes?: () => void; - no?: () => void; - validation?: () => void; - } + type ModalConfirmCallbacks = Record<string, () => void>; interface ModalConfirmOptions { onCloseEnd: () => void; |