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

@@ -103,7 +103,7 @@ class ClientUser extends Structures.get('User') {
* @property {PresenceStatusData} [status] Status of the user
* @property {boolean} [afk] Whether the user is AFK
* @property {ActivitiesOptions[]} [activities] Activity the user is playing
* @property {?number|number[]} [shardID] Shard Id(s) to have the activity set on
* @property {?(number|number[])} [shardID] Shard Id(s) to have the activity set on
*/
/**
@@ -130,7 +130,7 @@ class ClientUser extends Structures.get('User') {
/**
* Sets the status of the client user.
* @param {PresenceStatusData} status Status to change to
* @param {?number|number[]} [shardID] Shard ID(s) to have the activity set on
* @param {?(number|number[])} [shardID] Shard ID(s) to have the activity set on
* @returns {Presence}
* @example
* // Set the client user's status