I18n.use method
I18n › use
Unofficial
Registers a plugin module.Signature:
use(module: ((instance: I18n) => void) | T | ModuleConstructor<T>): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| module | ((instance: I18n) => void) | T | ModuleConstructor<T> | The module, its constructor, or a factory function. |
Returns: this — The i18n instance.