Skip to content

Commit

Permalink
fix: vue-i18n type definition for vue package (#1919)
Browse files Browse the repository at this point in the history
* fix: vue-i18n type definition for vue package (#1888)

* fix: vue-i18n-bridge type definition for vue package

---------

Co-authored-by: kazuya kawaguchi <kawakazu80@gmail.com>
  • Loading branch information
BobbieGoede and kazupon authored Aug 16, 2024
1 parent 6910440 commit b07a9a4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 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-bridge/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
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 b07a9a4

Please sign in to comment.