Skip to content

Interface: ComposerCustom

The type custom definition of Composer

Signature

ts
export interface ComposerCustom

Examples

ts
// vue-i18n.d.ts (`.d.ts` file at your app)

declare module 'vue-i18n' {
  interface ComposerCustom {
    localeCodes: string[]
  }
}

Tags

  • @remarks — The interface that can extend Composer. The type defined by 3rd party (e.g. nuxt/i18n)
  • @VueI18nComposition

Released under the MIT License.