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:
Diffstat (limited to 'plugins/CoreVue/types/index.d.ts')
-rw-r--r--plugins/CoreVue/types/index.d.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/plugins/CoreVue/types/index.d.ts b/plugins/CoreVue/types/index.d.ts
index 4b18a035be..34c9fa02c5 100644
--- a/plugins/CoreVue/types/index.d.ts
+++ b/plugins/CoreVue/types/index.d.ts
@@ -17,10 +17,6 @@ declare global {
wrapper?: (evt: Event) => void;
}
- interface AbortablePromise<T = any> extends Promise<T> {
- abort(): void;
- }
-
/**
* global ajax queue
*
@@ -150,6 +146,10 @@ declare global {
let widgetsHelper: WidgetsHelper;
+ interface AnchorLinkFix {
+ scrollToAnchorInUrl(): void;
+ }
+
interface Window {
angular: IAngularStatic;
globalAjaxQueue: GlobalAjaxQueue;
@@ -160,6 +160,7 @@ declare global {
piwik_translations: {[key: string]: string};
Materialize: M;
widgetsHelper: WidgetsHelper;
+ anchorLinkFix: AnchorLinkFix;
_pk_translate(translationStringId: string, values: string[]): string;
require(p: string): any;