fix(User): type dmChannel as nullable (#4609)

This commit is contained in:
Souji
2020-07-06 19:07:33 +02:00
committed by GitHub
parent ae716872b9
commit f9f3661090

2
typings/index.d.ts vendored
View File

@@ -1477,7 +1477,7 @@ declare module 'discord.js' {
public readonly createdTimestamp: number;
public discriminator: string;
public readonly defaultAvatarURL: string;
public readonly dmChannel: DMChannel;
public readonly dmChannel: DMChannel | null;
public flags?: Readonly<UserFlags>;
public id: Snowflake;
public lastMessageID: Snowflake | null;