From b07a9a49c3a45a7c284763477b4232c3c3693711 Mon Sep 17 00:00:00 2001 From: Bobbie Goede Date: Fri, 16 Aug 2024 18:12:36 +0200 Subject: [PATCH] fix: vue-i18n type definition for vue package (#1919) * fix: vue-i18n type definition for vue package (#1888) * fix: vue-i18n-bridge type definition for vue package --------- Co-authored-by: kazuya kawaguchi --- packages/petite-vue-i18n/src/vue.d.ts | 2 +- packages/vue-i18n-bridge/src/vue.d.ts | 2 +- packages/vue-i18n-core/src/i18n.ts | 2 +- packages/vue-i18n/src/vue.d.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/petite-vue-i18n/src/vue.d.ts b/packages/petite-vue-i18n/src/vue.d.ts index 36cf81674..583b2800e 100644 --- a/packages/petite-vue-i18n/src/vue.d.ts +++ b/packages/petite-vue-i18n/src/vue.d.ts @@ -31,7 +31,7 @@ import type { import type { ExportedGlobalComposer } from '../../vue-i18n-core/src/i18n' // --- THE CONTENT BELOW THIS LINE WILL BE APPENDED TO DTS FILE IN DIST DIRECTORY --- // -declare module '@vue/runtime-core' { +declare module 'vue' { /** * Component Custom Options for Vue I18n * diff --git a/packages/vue-i18n-bridge/src/vue.d.ts b/packages/vue-i18n-bridge/src/vue.d.ts index abc72790d..9ab058c40 100644 --- a/packages/vue-i18n-bridge/src/vue.d.ts +++ b/packages/vue-i18n-bridge/src/vue.d.ts @@ -36,7 +36,7 @@ import type { } from '../../vue-i18n-core/src/components' // --- THE CONTENT BELOW THIS LINE WILL BE APPENDED TO DTS FILE IN DIST DIRECTORY --- // -declare module '@vue/runtime-core' { +declare module 'vue' { /** * Component Custom Options for Vue I18n * diff --git a/packages/vue-i18n-core/src/i18n.ts b/packages/vue-i18n-core/src/i18n.ts index c641335c2..f3b4dfef2 100644 --- a/packages/vue-i18n-core/src/i18n.ts +++ b/packages/vue-i18n-core/src/i18n.ts @@ -99,7 +99,7 @@ declare module 'vue' { } // internal Component Instance API isCE -declare module '@vue/runtime-core' { +declare module 'vue' { export interface ComponentInternalInstance { /** * @internal diff --git a/packages/vue-i18n/src/vue.d.ts b/packages/vue-i18n/src/vue.d.ts index abc72790d..9ab058c40 100644 --- a/packages/vue-i18n/src/vue.d.ts +++ b/packages/vue-i18n/src/vue.d.ts @@ -36,7 +36,7 @@ import type { } from '../../vue-i18n-core/src/components' // --- THE CONTENT BELOW THIS LINE WILL BE APPENDED TO DTS FILE IN DIST DIRECTORY --- // -declare module '@vue/runtime-core' { +declare module 'vue' { /** * Component Custom Options for Vue I18n *