Cannot get route type for some routes
I'm struggling to get the right type for some routes.
The question: Why is my file route
campaignDraftsRoute
not satisfying TRoute extends AnyRoute
but other routes are?
I have the following file route:
And then I'm trying to include it as part of my navigation:
Finally, I've defined the type that NavMain is expecting here as TRoute extends AnyRoute
:
The only difference I can see between the routes that work and the routes that don't is that the ones that work are simple:
0 Replies