mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
docs: document constructors of extendible structures (#3160)
* docs: document constructors of extendible structures * docs(ClientPresence): document default value for data parameter Co-Authored-By: SpaceEEC <spaceeec@yahoo.com> * docs(Presence): document default value for data parameter Co-Authored-By: SpaceEEC <spaceeec@yahoo.com> * docs(DMChannel): capitalize DM in the constructor doc
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -809,7 +809,7 @@ declare module 'discord.js' {
|
||||
}
|
||||
|
||||
export class Presence {
|
||||
constructor(client: Client, data?: object);
|
||||
constructor(client: Client, data: object);
|
||||
public activity: Activity;
|
||||
public flags: Readonly<ActivityFlags>;
|
||||
public status: PresenceStatus;
|
||||
|
||||
Reference in New Issue
Block a user