#Autocomplete and url typing not working
10 messages · Page 1 of 1 (latest)
did you register the router types via the module declaration?
Hmm
I don't think so
Like this:
declare module '@tanstack/react-router' {
interface Register {
router: typeof router
}
}
Nice it works 😄 i didn't checked this page before !
And is there a Type i can use for url ?
Like I want to pass an url to a page to a component prop, what Type should I give to my prop ?