Exported variable 'router' has or is using name 'FileRouteTypes' from external module src/routeTree
Full error:
Exported variable 'router' has or is using name 'FileRouteTypes' from external module "../src/routeTree.gen" but cannot be named.
This also happens with RouteRootChildren. I see both of these interfaces inside of routeTree.gen.ts
but am not sure how to fix it.3 Replies
wise-whiteOP•13mo ago
I should add that the app does load fine and all
adverse-sapphire•13mo ago
It's usually
composite: true
or declaration: true
causing this atm
It's a bug but if these are false it should not happenwise-whiteOP•13mo ago
gotcha, will ignore for now bc i can still load my site and all