Skip to content

Commit c18144d

Browse files
authored
fix: vue-i18n type definition for vue package (#1888)
1 parent c03fec0 commit c18144d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/petite-vue-i18n/src/vue.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import type {
1818
import type { ExportedGlobalComposer } from '../../vue-i18n-core/src/i18n'
1919

2020
// --- THE CONTENT BELOW THIS LINE WILL BE APPENDED TO DTS FILE IN DIST DIRECTORY --- //
21-
declare module '@vue/runtime-core' {
21+
declare module 'vue' {
2222
/**
2323
* Component Custom Options for Vue I18n
2424
*

packages/vue-i18n-core/src/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ declare module 'vue' {
6868
}
6969

7070
// internal Component Instance API isCE
71-
declare module '@vue/runtime-core' {
71+
declare module 'vue' {
7272
export interface ComponentInternalInstance {
7373
/**
7474
* @internal

packages/vue-i18n/src/vue.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import type {
3535
} from '../../vue-i18n-core/src/components'
3636

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

0 commit comments

Comments
 (0)