From ea07d10812ef86ffd2acf0c06f4da81ffd7daedd Mon Sep 17 00:00:00 2001 From: Marc Neudert Date: Tue, 26 Nov 2024 18:38:29 +0100 Subject: [PATCH] Fix CoreHome global property typing (#22802) --- plugins/CoreVue/types/index.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/CoreVue/types/index.d.ts b/plugins/CoreVue/types/index.d.ts index 49a393c9768..a25ce2f6c7e 100644 --- a/plugins/CoreVue/types/index.d.ts +++ b/plugins/CoreVue/types/index.d.ts @@ -273,10 +273,10 @@ declare module '@vue/runtime-core' { $sanitize: Window['vueSanitize']; externalLink: (url: string, ...values:string[]) => string; externalRawLink: (url: string, ...values:string[]) => string; - formatNumber: (val: string, maxFractionDigits?: number, minFractionDigits?: number) => string; - formatPercent: (val: string, maxFractionDigits?: number, minFractionDigits?: number) => string; - formatCurrency: (val: string, cur: string, maxFractionDigits?: number, minFractionDigits?: number) => string; - formatEvolution: (val: string, cur: string, maxFractionDigits?: number, minFractionDigits?: number, noSign?: boolean) => string; - calculateAndFormatEvolution: (valCur: string, valPast: string, noSign?: boolean) => string; + formatNumber: (val: string|number, maxFractionDigits?: number, minFractionDigits?: number) => string; + formatPercent: (val: string|number, maxFractionDigits?: number, minFractionDigits?: number) => string; + formatCurrency: (val: string|number, cur: string, maxFractionDigits?: number, minFractionDigits?: number) => string; + formatEvolution: (val: string|number, maxFractionDigits?: number, minFractionDigits?: number, noSign?: boolean) => string; + calculateAndFormatEvolution: (valCur: string|number, valPrev: string|number, noSign?: boolean) => string; } }