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

types(ThreadMemberManager): fix incorrect usage #5928

Merged
merged 1 commit into from
Jun 26, 2021

Conversation

ckohen
Copy link
Member

@ckohen ckohen commented Jun 26, 2021

Please describe the changes this PR makes and why it should be merged:

Made another oopsie

Status and versioning classification:

  • I know how to update typings and have done so, or typings don't need updating

Copy link
Member

@kyranet kyranet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't the usage of implements instead of extends also work in here?

@ckohen
Copy link
Member Author

ckohen commented Jun 26, 2021

I could do that yes, but that also requires duplication of all properties / methods in BaseManager (aside from add of course) in ThreadMemberManager because implements doesn't inherently copy those.

@kyranet
Copy link
Member

kyranet commented Jun 26, 2021

Oh, then it's fine.

@iCrawl iCrawl merged commit 6065b11 into discordjs:master Jun 26, 2021
@ckohen ckohen deleted the typings-threadmembers branch June 27, 2021 07:12
@iCrawl iCrawl added this to the Version 13 milestone Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants