Skip to content

I18n.use method

I18n › use

Unofficial

Registers a plugin module.

Signature:

use(module: ((instance: I18n) => void) | T | ModuleConstructor<T>): this

Parameters:

ParameterTypeDescription
module((instance: I18n) => void) | T | ModuleConstructor<T>The module, its constructor, or a factory function.

Returns: thisThe i18n instance.