-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
typesChanges to the typescript typesChanges to the typescript types
Description
Which project does this relate to?
Router
Describe the bug
After upgrading to RC I've seen this type error that was working fine before the upgrade.
Error:
Type 'Promise<{ id: string; title: string; body: string; }>' is not assignable to type 'never'Your Example Website or App
Steps to Reproduce the Bug or Issue
- Clone the reproduction repo
- Open the
posts.$postId.tsfile - See the type error
When removing the params from the head function the error is gone.
Functionally the behaviour seems correct.
Expected behavior
No type error. The same code was working before the RC release.
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.132.6
- OS: macOS
- Browser: -
- Browser Version: -
- Bundler: vite
Additional context
No response
Metadata
Metadata
Assignees
Labels
typesChanges to the typescript typesChanges to the typescript types