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-02-15 03:24:30 +0300
committerGitHub <noreply@github.com>2022-02-15 03:24:30 +0300
commit8121427ba53127451bc74fdc3b0887e9843237e4 (patch)
tree15c10df43bb5880b977003d56583f436ac75b05e
parent34e226540e69ab4b6dd82a9024d72782e1ac058a (diff)
add type defintion for sendContentAsDownload() (#18793)
-rw-r--r--plugins/CoreVue/types/index.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/CoreVue/types/index.d.ts b/plugins/CoreVue/types/index.d.ts
index 9c1461cee0..24fc1c20bc 100644
--- a/plugins/CoreVue/types/index.d.ts
+++ b/plugins/CoreVue/types/index.d.ts
@@ -87,6 +87,7 @@ declare global {
lazyScrollToContent(): void;
registerShortcut(key: string, description: string, callback: (event: ExtendedKeyboardEvent) => void): void;
compileAngularComponents(selector: JQuery|JQLite|HTMLElement|string, options?: CompileAngularComponentsOptions): void;
+ sendContentAsDownload(filename: string, content: any, mimeType?: string): void;
}
let piwikHelper: PiwikHelperGlobal;