Replies: 1 comment 2 replies
-
I have prepared a minimal repo with reproduction. https://github.com/Guria/tstouter-typing-repro |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I am recently noted that my
Route.useLoaderData()
has started to returnany
type. It happens in all routes.Unfortunately I don't know when it is started, so I am unable to identify exact change that caused that to happen.
I have a regular setup with vite and plugin and I am sure I had it working in type safe way.
I just checked with freshly set up using
create-tsrouter-app
and wasn't able to reproduce too.I have tried to clean cache, reinstall node_modules, double checked plugin is in vite configuration, ensured routeTree.gen.ts is recreating.
I would appreciate any directions for debug as I can't provide a reproduction yet.
Beta Was this translation helpful? Give feedback.
All reactions