[Request] Add types to router events #23940
LauraBeatris
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature request
Is your feature request related to a problem? Please describe.
It's not related to a problem, although, would be really nice to add types for the Router Events since it would be easier to use without having to refer every time to the documentation.
I think it's an easy enhancement that can improve the developer experience.
Describe the solution you'd like
I would like to have autocompletion for the router events.
Additional context
I added a string literal type for the events, and that's the result:
Beta Was this translation helpful? Give feedback.
All reactions