T
TanStack2mo ago
optimistic-gold

No TS checks on the Link component

I created a new Tanstack Start project use the create-tsrouter-app and the links in the header component don't give me the red squiggly line when i delete the associated file route.
No description
4 Replies
fair-rose
fair-rose2mo ago
Have you done the ts declaration of your router?
other-emerald
other-emerald2mo ago
probably because the routeTree file wasn't regenerated yet? were you running npm run dev during this?
optimistic-gold
optimistic-goldOP2mo ago
seems to work now. I changed the name of the root folder because it had a space. /test project to /test-project
graceful-blue
graceful-blue2mo ago
if the space is the issue, then that's a bug. can you please create a GitHub issue for this, including OS etc?

Did you find this page helpful?