mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 01:53:30 +01:00
docs(*): wrap optional properties with union types in parentheses (#6021)
This commit is contained in:
@@ -42,7 +42,7 @@ class WelcomeChannel extends Base {
|
||||
|
||||
/**
|
||||
* The channel of this welcome channel
|
||||
* @type {?TextChannel|NewsChannel}
|
||||
* @type {?(TextChannel|NewsChannel)}
|
||||
*/
|
||||
get channel() {
|
||||
return this.client.channels.resolve(this.channelID);
|
||||
|
||||
Reference in New Issue
Block a user