TanStackT
TanStack4mo ago
4 replies
brilliant-lime

Router Monorepo examples broken

Just tried to fork all 3 examples about monorepos and all of them are not working as expected.
useLoaderData and useSearch are always inferred as
any

I checked previous questions and strict ts config is set to true.

Any ideas? I am trying to setup the same structure in my project and so far everything becomes any.

I tried running the project, rebuilding dependencies, etc. Can't get rid of
any
image.png
Was this page helpful?