Skip to content

I18n.use method

I18n › use

Unofficial

Registers a plugin module.

Signature:

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

Parameters:

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

Returns: thisThe i18n instance.