docs: use preferred nullable syntax (?T over T | null) (#9946)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Aura
2023-11-12 22:45:02 +01:00
committed by GitHub
parent 4bc1dae36f
commit 1e4ef35436
8 changed files with 12 additions and 12 deletions

View File

@@ -144,7 +144,7 @@ class ApplicationCommand extends Base {
/**
* Whether the command can be used in DMs
* <info>This property is always `null` on guild commands</info>
* @type {boolean|null}
* @type {?boolean}
*/
this.dmPermission = data.dm_permission;
} else {