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:
@@ -354,7 +354,7 @@ class GuildAuditLogsEntry {
|
||||
|
||||
/**
|
||||
* Specific property changes
|
||||
* @type {?(AuditLogChange[])}
|
||||
* @type {?AuditLogChange[]}
|
||||
*/
|
||||
this.changes = data.changes?.map(c => ({ key: c.key, old: c.old_value, new: c.new_value })) ?? null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user