Adding head
to createFileRoute breaks type inference of loader
#3491
Labels
types
Changes to the typescript types
Which project does this relate to?
Start
Describe the bug
Normally,
Route.useLoaderData
is typed according to the return type ofloader
:However, adding
head
breaks this inference:Steps to Reproduce the Bug or Issue
TS Playground
Platform
The text was updated successfully, but these errors were encountered: