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

refactor: remove conditional autocomplete option return types #7396

Conversation

suneettipirneni
Copy link
Member

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

Remove conditional return types from autocomplete options. These did not work as intended.

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

Copy link
Member

@almeidx almeidx left a comment

Choose a reason for hiding this comment

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

Consistency. Alternatively, the annotation should be removed from all the other ones

Copy link
Member

@vladfrangu vladfrangu left a comment

Choose a reason for hiding this comment

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

Once you apply @almeidx's request, LGTM

Co-authored-by: Almeida <almeidx@pm.me>
@iCrawl iCrawl merged commit 0909824 into discordjs:main Feb 9, 2022
@suneettipirneni suneettipirneni deleted the builders/refactor/remove-conditional-types branch July 6, 2022 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

5 participants