From 13306f497d7876ebd9ffdea99d856a842a7226c6 Mon Sep 17 00:00:00 2001 From: Pavel Kuzmin Date: Wed, 21 Aug 2024 00:28:20 +0500 Subject: [PATCH] fix --- src/runtime/plugins/01.plugin.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/runtime/plugins/01.plugin.ts b/src/runtime/plugins/01.plugin.ts index 01afa302..43a43b32 100644 --- a/src/runtime/plugins/01.plugin.ts +++ b/src/runtime/plugins/01.plugin.ts @@ -265,19 +265,3 @@ declare module 'vue' { // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface ComponentCustomProperties extends PluginsInjections {} } - -declare global { - const $getLocale: () => string - const $getLocales: () => Locale[] - const $t: >( - key: string, - params?: T, - defaultValue?: string - ) => string | number | boolean | Translations | PluralTranslations | unknown[] | unknown | null - const $tc: (key: string, count: number, defaultValue?: string) => string - const $has: (key: string) => boolean - const $mergeTranslations: (newTranslations: Translations) => void - const $switchLocale: (locale: string) => void - const $localeRoute: (to: RouteLocationRaw, locale?: string) => RouteLocationRaw - const $loadPageTranslations: (locale: string, routeName: string) => Promise -}