mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
fix(Invite): fix valueOf returning undefined (#3582)
* Update Invite.js * Fix typings * Fix ESLint errors
This commit is contained in:
committed by
SpaceEEC
parent
1bcc0c2e1d
commit
d39f17925d
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -878,6 +878,7 @@ declare module 'discord.js' {
|
||||
public setNickname(nickname: string, reason?: string): Promise<GuildMember>;
|
||||
public toJSON(): object;
|
||||
public toString(): string;
|
||||
public valueOf(): string;
|
||||
}
|
||||
|
||||
export class Integration extends Base {
|
||||
|
||||
Reference in New Issue
Block a user