We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
scope
1 parent 9e61ca6 commit c2d4c61Copy full SHA for c2d4c61
packages/vue-i18n-core/src/components/DatetimeFormat.ts
@@ -44,7 +44,7 @@ export const DatetimeFormatImpl = /* #__PURE__*/ defineComponent({
44
const i18n =
45
props.i18n ||
46
(useI18n({
47
- useScope: 'parent',
+ useScope: props.scope as 'global' | 'parent',
48
__useComponent: true
49
}) as unknown as Composer & ComposerInternal)
50
packages/vue-i18n-core/src/components/NumberFormat.ts
@@ -43,7 +43,7 @@ export const NumberFormatImpl = /*#__PURE__*/ defineComponent({
43
0 commit comments