vue-i18n / general / ComposerCustom
Interface: ComposerCustom
Vue I18n Composition
The type custom definition of Composer
Remarks
The interface that can extend Composer.
The type defined by 3rd party (e.g. nuxt/i18n)
Example
ts
// vue-i18n.d.ts (`.d.ts` file at your app)
declare module 'vue-i18n' {
interface ComposerCustom {
localeCodes: string[]
}
}