vue-i18n / general / GeneratedTypeConfig
Interface: GeneratedTypeConfig
The interface used for narrowing types using generated types.
Remarks
The type generated by 3rd party (e.g. nuxt/i18n)
Example
ts
// generated-i18n-types.d.ts (`.d.ts` file at your app)
declare module '@intlify/core-base' {
interface GeneratedTypeConfig {
locale: "en" | "ja"
}
}