Skip to content

Commit 74bbb8d

Browse files
committed
fix: wrong exporting
1 parent 1a18e85 commit 74bbb8d

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,13 @@ export type {
6969
MissingHandler,
7070
VueMessageType
7171
} from './composer'
72-
export { createI18n, useI18n } from './i18n'
72+
export { createI18n, I18nInjectionKey, useI18n } from './i18n'
7373
export type {
7474
ComposerAdditionalOptions,
7575
ComposerExtender,
7676
ExportedGlobalComposer,
7777
I18n,
7878
I18nAdditionalOptions,
79-
I18nInjectionKey,
8079
I18nMode,
8180
I18nOptions,
8281
I18nScope,

packages/vue-i18n/src/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,17 @@ export type {
8888
MissingHandler,
8989
VueMessageType
9090
} from '../../vue-i18n-core/src/composer'
91-
export { createI18n, useI18n } from '../../vue-i18n-core/src/i18n'
91+
export {
92+
createI18n,
93+
I18nInjectionKey,
94+
useI18n
95+
} from '../../vue-i18n-core/src/i18n'
9296
export type {
9397
ComposerAdditionalOptions,
9498
ComposerExtender,
9599
ExportedGlobalComposer,
96100
I18n,
97101
I18nAdditionalOptions,
98-
I18nInjectionKey,
99102
I18nMode,
100103
I18nOptions,
101104
I18nScope,

packages/vue-i18n/src/runtime.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,17 @@ export type {
8787
MissingHandler,
8888
VueMessageType
8989
} from '../../vue-i18n-core/src/composer'
90-
export { createI18n, useI18n } from '../../vue-i18n-core/src/i18n'
90+
export {
91+
createI18n,
92+
I18nInjectionKey,
93+
useI18n
94+
} from '../../vue-i18n-core/src/i18n'
9195
export type {
9296
ComposerAdditionalOptions,
9397
ComposerExtender,
9498
ExportedGlobalComposer,
9599
I18n,
96100
I18nAdditionalOptions,
97-
I18nInjectionKey,
98101
I18nMode,
99102
I18nOptions,
100103
I18nScope,

0 commit comments

Comments
 (0)