Broken parameter types for in-component navigation guards supplied to defineComponent
#2332
Unanswered
ghost
asked this question in
Help and Questions
Replies: 1 comment 3 replies
-
It works PS: please don't open issues with incomplete reproductions, it's not showcasing what you say. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reproduction
https://codesandbox.io/s/vue-router-4-reproduction-s1sqc
Steps to reproduce the bug
View intellisense for parameters in
beforeRouteEnter
Expected behavior
Type parameters in
beforeRouteEnter
:to: RouteLocationNormalizedGeneric
from: RouteLocationNormalizedGeneric
next: NavigationGuardNext
Actual behavior
Type parameters in
beforeRouteEnter
:to: any
from: any
next: any
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions