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

RouterLink v-slot props missing types #27

Closed
valgeirb opened this issue Jul 6, 2022 · 1 comment
Closed

RouterLink v-slot props missing types #27

valgeirb opened this issue Jul 6, 2022 · 1 comment

Comments

@valgeirb
Copy link

valgeirb commented Jul 6, 2022

We're missing some types for route, navigate,isActive and isExactActive slot props.

Property 'route' does not exist on type 'RouteLocationResolvedTyped<RouteNamedMap, "/AboutView"> | RouteLocationResolvedTyped<RouteNamedMap, "/HomeView">'.

23           v-slot="{ href, route, navigate, isActive, isExactActive }"

image

I have a reproduction repo ready if you need it.

@posva posva added the bug label Jul 7, 2022
@posva
Copy link
Owner

posva commented Jul 7, 2022

Thanks! No need for the repro, I found where this is coming from

@posva posva closed this as completed in 64ff5b6 Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants