Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typings(MessageReference): correctly add undefined type #6563

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

ImRodry
Copy link
Contributor

@ImRodry ImRodry commented Aug 29, 2021

Please describe the changes this PR makes and why it should be merged:
This PR fixes the types for MessageReference as guildId can be undefined and messageId can be undefined, not null.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

typings/index.d.ts Show resolved Hide resolved
@iCrawl iCrawl changed the title types(MessageReference): correctly add undefined type typings(MessageReference): correctly add undefined type Aug 31, 2021
@iCrawl iCrawl merged commit cdb0005 into discordjs:main Aug 31, 2021
@ImRodry ImRodry deleted the types-messagereference branch August 31, 2021 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants