Skip to content

Commit

Permalink
fix: vue-i18n type definition for vue package (#1888)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon authored and BobbieGoede committed Aug 16, 2024
1 parent e37cba0 commit f6bf148
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/petite-vue-i18n/src/vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-i18n-core/src/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ declare module 'vue' {
}

// internal Component Instance API isCE
declare module '@vue/runtime-core' {
declare module 'vue' {
export interface ComponentInternalInstance {
/**
* @internal
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-i18n/src/vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit f6bf148

Please sign in to comment.