docs(*): wrap optional properties with union types in parentheses (#6021)

This commit is contained in:
Almeida
2021-07-03 21:00:53 +01:00
committed by GitHub
parent 4bf49809f2
commit ec06ba7ad0
8 changed files with 11 additions and 11 deletions

View File

@@ -39,7 +39,7 @@ class InteractionCollector extends Collector {
/**
* The channel from which to collect interactions, if provided
* @type {?TextChannel|DMChannel|NewsChannel}
* @type {?(TextChannel|DMChannel|NewsChannel)}
*/
this.channel = this.message?.channel ?? options.channel ?? null;