docs(api): document option validation

This commit is contained in:
2026-08-24 15:26:16 +02:00
parent f83d78ab4e
commit 08b103a26b
2 changed files with 6 additions and 1 deletions
+3
View File
@@ -123,6 +123,9 @@ type AudioManagerOptions = {
};
```
`connectTimeoutMs` and numeric `renewIntervalMs` values must be whole milliseconds from `1` through `2_147_483_647`.
`volume.initialPercent` must be a finite number from `0` through `100` and requires `volume.enabled: true`.
### Defaults
| Option | Default |