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
fascinating-indigo•4mo ago
needs to be exported probably?
xenial-blackOP•4mo ago
yeee that did it, thank you king 👑