-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
typesChanges to the typescript typesChanges to the typescript types
Description
Which project does this relate to?
Router
Describe the bug
When from is a union of different paths, to allows a union of relative paths for from instead of an intersection, resulting in invalid links.
Your Example Website or App
Steps to Reproduce the Bug or Issue
- Use a
fromthat is an union of different valid paths - Write a relative
to
Expected behavior
to should only allow relative paths that are valid for all from paths.
Screenshots or Videos
No response
Platform
- OS: Windows
- Browser: Chrome
- Version: 131.0.6778.140
Additional context
I wonder if this can be done in TS 🤔
Metadata
Metadata
Assignees
Labels
typesChanges to the typescript typesChanges to the typescript types