You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add proper typings which make a route automatically infer its type, from its type. For example infer the typeChatInputRoute if its type is ChannelMessageWithSource.
The text was updated successfully, but these errors were encountered:
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
Add proper typings which make a route automatically infer its type, from its type. For example infer the type
ChatInputRoute
if its type isChannelMessageWithSource
.The text was updated successfully, but these errors were encountered: