TanStack Router node_modules error

Hi everyone, I've just migrated to TanStack Router from React Router and whilst the bulk of the migration went fine I'm having a weird issue with TanStack and typescript.

When running typescript check on my project, it picks up a load of issues in tans stack routers .d.ts files. (See attached files)

I don't have issues with any other packages so I can't understand how it would be my set up though obviously I can't rule it out.

Anyone run into anything similar, if so how did you solve it?
screenshot_2025-04-23_at_12.39.06.png
Was this page helpful?