Skip to content

vue-i18n / general / UseI18nOptions

Type Alias: UseI18nOptions<Schema, Locales, Options>

ts
type UseI18nOptions<Schema, Locales, Options> = ComposerAdditionalOptions & Options;

Vue I18n Composition

I18n Options for useI18n

Type Parameters

Type ParameterDefault type
Schema extends objectobject
Locales extends | { datetimeFormats: unknown; messages: unknown; numberFormats: unknown; } | stringLocale
Options extends ComposerOptions<Schema, Locales>ComposerOptions<Schema, Locales>

Remarks

UseI18nOptions is inherited ComposerAdditionalOptions and ComposerOptions, so you can specify these options.

See about:

Released under the MIT License.