createRootRouterWithContext Interface cannot be Named Type Issue
Heylo, I've tried implementing
createRootRouterWithContext
with an interface, but I run into the following issue when defining my router
:
My code is as follows
__root.tsx
main.tsx
I found that I don't get any type issue if I define createRootRouteWithContext
as follows
Would appreciate any input here2 Replies
foreign-sapphire•4w ago
needs to be exported probably?
wise-whiteOP•4w ago
yeee that did it, thank you king 👑