Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2022-05-20 17:24:44 +0300
committerGitHub <noreply@github.com>2022-05-20 17:24:44 +0300
commit6eb89374b80a2fd9ffb947db5e367a5b502dca6e (patch)
tree96401bb1c9b7acc0c6facd2562086aa1132a86d0
parent737a1c8bf56e0ec9bb8ac9867767c1af5c0431a3 (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)
-rw-r--r--plugins/CoreVue/types/index.d.ts6
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;