Skip to content

Commit

Permalink
typings(MessageReference): correctly add undefined type (#6563)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImRodry committed Aug 31, 2021
1 parent 2c219cb commit cdb0005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4311,8 +4311,8 @@ export type MessageReactionResolvable =

export interface MessageReference {
channelId: Snowflake;
guildId: Snowflake;
messageId: Snowflake | null;
guildId: Snowflake | undefined;
messageId: Snowflake | undefined;
}

export type MessageResolvable = Message | Snowflake;
Expand Down

0 comments on commit cdb0005

Please sign in to comment.