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

fix typing of various AppCommand decorators #9822

Merged
merged 2 commits into from May 9, 2024

Conversation

mikeshardmind
Copy link
Contributor

Summary

Adds some overloads, fixes a couple erroneous return types on decorators which were not designed to be used as both @name and @name()

was briefly brought up in discord here: https://discord.com/channels/336642139381301249/1219651927113994291/1237362470511841310

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

@Rapptz Rapptz merged commit a1206df into Rapptz:master May 9, 2024
8 checks passed
@mikeshardmind mikeshardmind deleted the decorator-type-fixes branch May 9, 2024 09:17
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.

None yet

2 participants