Skip to content

Commit 91de3a0

Browse files
authored
fix vue-i18n type definition broken (#459)
closes #458
1 parent b4bc721 commit 91de3a0

File tree

1 file changed

+5
-3
lines changed
  • packages/vue-i18n/src/components

1 file changed

+5
-3
lines changed

packages/vue-i18n/src/components/base.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { Locale } from '@intlify/core-base'
2-
import { PropType } from '@vue/runtime-core'
31
import { Composer } from '../composer'
2+
43
import type { I18nScope } from '../i18n'
4+
import type { Locale } from '@intlify/core-base'
55

66
export type ComponetI18nScope = Exclude<I18nScope, 'local'>
77

@@ -61,5 +61,7 @@ export const baseFormatProps = {
6161
val === 'parent' || val === 'global',
6262
default: 'parent' as ComponetI18nScope
6363
},
64-
i18n: { type: Object as PropType<Composer> }
64+
i18n: {
65+
type: Object
66+
}
6567
}

0 commit comments

Comments
 (0)