provideToastConfig()
ts
function provideToastConfig<Registry>(config): EnvironmentProviders;Defined in: types/toast/toast-config.types.ts:109
Factory func to provide the global toast config.
Type Parameters
| Type Parameter |
|---|
Registry extends Record<string, unknown> |
Parameters
| Parameter | Type | Description |
|---|---|---|
config | Readonly<ToastConfig<Registry>> | the toast config to provide |
Returns
EnvironmentProviders
an EnvironmentProviders for the toast-injection-token in the Bootstrap
Since
1.2.1
Author
Simon Kovtyk