cleanup(Invite): remove outdated props, properly default to null (#2807)

This commit is contained in:
Kyra
2018-08-29 12:41:53 +02:00
committed by SpaceEEC
parent 8821fd40bc
commit c63f15c8bc
2 changed files with 13 additions and 28 deletions

2
typings/index.d.ts vendored
View File

@@ -616,10 +616,8 @@ declare module 'discord.js' {
public memberCount: number;
public presenceCount: number;
public temporary: boolean;
public textChannelCount: number;
public readonly url: string;
public uses: number;
public voiceChannelCount: number;
public delete(reason?: string): Promise<Invite>;
public toJSON(): object;
public toString(): string;