Which project does this relate to?
Router
Describe the bug
The match param of the MatchRoute component is being typed incorrectly,
Your Example Website or App
https://github.com/SkandarS0/f-med-sousse/tree/match-route-issue
Steps to Reproduce the Bug or Issue
The steps to reproduce are included in the readme file of the provided example
Expected behavior
As a user I expected the match param be ResolveParams<"/admin/login"> | undefined and ResolveParams<"/student/login"> | undefined but it's ResolveParams<"/login"> | undefined
Screenshots or Videos
No response
Platform
- Router Version: 1.168.10
- OS: Windows
- Browser: Chrome
- Browser Version: 146
- Bundler: vite
- Bundler Version: 8.0.3
Additional context
No response
Which project does this relate to?
Router
Describe the bug
The
matchparam of theMatchRoutecomponent is being typed incorrectly,Your Example Website or App
https://github.com/SkandarS0/f-med-sousse/tree/match-route-issue
Steps to Reproduce the Bug or Issue
The steps to reproduce are included in the readme file of the provided example
Expected behavior
As a user I expected the
match parambeResolveParams<"/admin/login"> | undefinedandResolveParams<"/student/login"> | undefinedbut it'sResolveParams<"/login"> | undefinedScreenshots or Videos
No response
Platform
Additional context
No response