Skip to content

Commit

Permalink
chore: fix broken link
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenbroekema committed Nov 25, 2024
1 parent 78c6a60 commit 4090a56
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/src/content/docs/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ type init = (config: Config) ⇒ Promise<SDInstance>
Called automatically when doing `new StyleDictionary(config)` unless passing a second argument with `init` property set to `false`.
In this scenario, you can call `.init()` manually, e.g. for testing or error handling purposes.
| Param | Type | Description |
| ---------------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `initConfig` | `Object` | Init configuration options. |
| `initConfig.verbosity` | `'silent'\|'default'\|'verbose'` | Verbosity of logs, overrides `log.verbosity` set in SD config or platform config. There is an [enum-like JS object](/reference/enums#log-verbosity-levels) `logVerbosityLevels` available, that you can import. |
| `initConfig.warnings` | `'error'\|'warn'\|'disabled'` | Whether to throw warnings as errors, warn or disable warnings, overrides `log.verbosity` set in SD config or platform config.There is an [enum-like JS object](/reference/enumsenums#log-warning-levels) `logWarningLevels` available, that you can import. |
| Param | Type | Description |
| ---------------------- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `initConfig` | `Object` | Init configuration options. |
| `initConfig.verbosity` | `'silent'\|'default'\|'verbose'` | Verbosity of logs, overrides `log.verbosity` set in SD config or platform config. There is an [enum-like JS object](/reference/enums#log-verbosity-levels) `logVerbosityLevels` available, that you can import. |
| `initConfig.warnings` | `'error'\|'warn'\|'disabled'` | Whether to throw warnings as errors, warn or disable warnings, overrides `log.verbosity` set in SD config or platform config.There is an [enum-like JS object](/reference/enums#log-warning-levels) `logWarningLevels` available, that you can import. |
---
Expand Down

0 comments on commit 4090a56

Please sign in to comment.