The dashboard route imported Route from '../_app', which resolves to itself (_app/index.tsx IS the _app route), creating a self-referencing circular type inference (TS7022/TS7023). Fix by importing the root route from '__root' as the parent, which is the correct ancestor in the route tree hierarchy.