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

Documentation seemingly does not show methods or properties derived via mixins #8997

Closed
Jiralite opened this issue Dec 31, 2022 · 0 comments · Fixed by #9027
Closed

Documentation seemingly does not show methods or properties derived via mixins #8997

Jiralite opened this issue Dec 31, 2022 · 0 comments · Fixed by #9027

Comments

@Jiralite
Copy link
Member

Jiralite commented Dec 31, 2022

Which package is the feature request for?

N/A

Feature

Mixins seem to be an exception in our documentation.

An example is the SlashCommandStringOption class. This does not have the addChoices() method, but it does exist in the code:

@mix(ApplicationCommandOptionWithChoicesAndAutocompleteMixin)
export class SlashCommandStringOption extends ApplicationCommandOptionBase {

Ideal solution or implementation

Mixins seem to be the commonality here, so I would want this to be supported through one shape or another.

Alternative solutions or implementations

No response

Other context

No response

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants