Skip to content

Commit

Permalink
fix vue-i18n type definition broken (#459)
Browse files Browse the repository at this point in the history
closes #458
  • Loading branch information
kazupon committed Apr 15, 2021
1 parent b4bc721 commit 91de3a0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions packages/vue-i18n/src/components/base.ts
@@ -1,7 +1,7 @@
import type { Locale } from '@intlify/core-base'
import { PropType } from '@vue/runtime-core'
import { Composer } from '../composer'

import type { I18nScope } from '../i18n'
import type { Locale } from '@intlify/core-base'

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

Expand Down Expand Up @@ -61,5 +61,7 @@ export const baseFormatProps = {
val === 'parent' || val === 'global',
default: 'parent' as ComponetI18nScope
},
i18n: { type: Object as PropType<Composer> }
i18n: {
type: Object
}
}

0 comments on commit 91de3a0

Please sign in to comment.