Skip to content

Commit 67c05f0

Browse files
authored
fix: support pascal case for components (#1313)
1 parent 42aea7b commit 67c05f0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,5 +1233,8 @@ declare module '@vue/runtime-core' {
12331233
['i18n-t']: typeof Translation
12341234
['i18n-d']: typeof DatetimeFormat
12351235
['i18n-n']: typeof NumberFormat
1236+
['I18nT']: typeof Translation
1237+
['I18nD']: typeof DatetimeFormat
1238+
['I18nN']: typeof NumberFormat
12361239
}
12371240
}

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,5 +1233,8 @@ declare module '@vue/runtime-core' {
12331233
['i18n-t']: typeof Translation
12341234
['i18n-d']: typeof DatetimeFormat
12351235
['i18n-n']: typeof NumberFormat
1236+
['I18nT']: typeof Translation
1237+
['I18nD']: typeof DatetimeFormat
1238+
['I18nN']: typeof NumberFormat
12361239
}
12371240
}

0 commit comments

Comments
 (0)