[Bug]: createFileRoute beroferLoad return value is not typechecked by typescript is root was created with context
freddi301 opened this issue · comments
Frederik Batuna commented
What version of React Router are you using?
1.22.0
Steps to Reproduce
createFileRoute beroferLoad return value is not typechecked by typescript is root was created with context
Expected Behavior
to be typechecked
Actual Behavior
you can return anything in beforeLoad and you do not get intellisense
Tim Dorr commented
You have the wrong project. This is about TanStack Router, but you're in the React Router repo.
Frederik Batuna commented
Oh, i'm so sorry for wasting your time 😭