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

Smarter typings for routes #2

Open
github-actions bot opened this issue Oct 25, 2022 · 0 comments
Open

Smarter typings for routes #2

github-actions bot opened this issue Oct 25, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers packages:disploy

Comments

@github-actions
Copy link

github-actions bot commented Oct 25, 2022

Add proper typings which make a route automatically infer its type, from its type. For example infer the type ChatInputRoute if its type is ChannelMessageWithSource.

@github-actions github-actions bot added the todo label Oct 25, 2022
@tristancamejo tristancamejo added this to the v1.0.0 milestone Oct 26, 2022
@tristancamejo tristancamejo changed the title Add proper typings which make a route automatically a ChatInputRoute if it's typ... Smarter typings for routes Oct 26, 2022
@tristancamejo tristancamejo added enhancement New feature or request good first issue Good for newcomers and removed todo labels Oct 26, 2022
@tristancamejo tristancamejo removed this from the v1.0.0 milestone Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers packages:disploy
Projects
None yet
Development

No branches or pull requests

1 participant