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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;