Skip to content

Commit 5086b23

Browse files
committed
fix: vue-i18n type generation
1 parent fc76187 commit 5086b23

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

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

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import type {
22
DateTimeOptions,
33
IsEmptyObject,
44
IsNever,
5-
JsonPaths,
65
Locale,
76
LocaleMessageValue,
87
MessageFunction,
@@ -11,28 +10,27 @@ import type {
1110
PickupFormatPathKeys,
1211
TranslateOptions
1312
} from '@intlify/core-base'
14-
import type {
15-
DatetimeFormat,
16-
NumberFormat,
17-
Translation
18-
} from '../../vue-i18n-core/src/components'
1913
import type {
2014
CustomBlocks,
15+
DatetimeFormat,
16+
DateTimeFormatResult,
2117
DefineDateTimeFormat,
2218
DefineLocaleMessage,
23-
RemovedIndexResources,
24-
VueMessageType
25-
} from '../../vue-i18n-core/src/composer'
26-
import type { ExportedGlobalComposer } from '../../vue-i18n-core/src/i18n'
27-
import type {
28-
DateTimeFormatResult,
19+
ExportedGlobalComposer,
20+
NumberFormat,
2921
NumberFormatResult,
22+
RemovedIndexResources,
3023
TranslateResult,
24+
Translation,
3125
VueI18n,
32-
VueI18nOptions
33-
} from '../../vue-i18n-core/src/legacy'
26+
VueI18nOptions,
27+
VueMessageType
28+
} from '@intlify/vue-i18n-core'
3429

3530
// --- THE CONTENT BELOW THIS LINE WILL BE APPENDED TO DTS FILE IN DIST DIRECTORY --- //
31+
32+
import type { JsonPaths } from '@intlify/core-base'
33+
3634
declare module 'vue' {
3735
/**
3836
* Component Custom Options for Vue I18n

0 commit comments

Comments
 (0)