Skip to content

Commit b07a9a4

Browse files
BobbieGoedekazupon
andauthored
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 <[email protected]>
1 parent 6910440 commit b07a9a4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: packages/petite-vue-i18n/src/vue.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import type {
3131
import type { ExportedGlobalComposer } from '../../vue-i18n-core/src/i18n'
3232

3333
// --- THE CONTENT BELOW THIS LINE WILL BE APPENDED TO DTS FILE IN DIST DIRECTORY --- //
34-
declare module '@vue/runtime-core' {
34+
declare module 'vue' {
3535
/**
3636
* Component Custom Options for Vue I18n
3737
*

Diff for: packages/vue-i18n-bridge/src/vue.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import type {
3636
} from '../../vue-i18n-core/src/components'
3737

3838
// --- THE CONTENT BELOW THIS LINE WILL BE APPENDED TO DTS FILE IN DIST DIRECTORY --- //
39-
declare module '@vue/runtime-core' {
39+
declare module 'vue' {
4040
/**
4141
* Component Custom Options for Vue I18n
4242
*

Diff for: packages/vue-i18n-core/src/i18n.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ declare module 'vue' {
9999
}
100100

101101
// internal Component Instance API isCE
102-
declare module '@vue/runtime-core' {
102+
declare module 'vue' {
103103
export interface ComponentInternalInstance {
104104
/**
105105
* @internal

Diff for: packages/vue-i18n/src/vue.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import type {
3636
} from '../../vue-i18n-core/src/components'
3737

3838
// --- THE CONTENT BELOW THIS LINE WILL BE APPENDED TO DTS FILE IN DIST DIRECTORY --- //
39-
declare module '@vue/runtime-core' {
39+
declare module 'vue' {
4040
/**
4141
* Component Custom Options for Vue I18n
4242
*

0 commit comments

Comments
 (0)