-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Describe the bug
The fuzzy option does not seem to be available in tanstack router. Something like this will throw a type error and does not work during runtime as well
const match = router.matchRoute({ to: url, fuzzy: true });
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-6ejtax?file=src%2Fmain.tsx
Steps to Reproduce the Bug or Issue
- Click on
Postsin the header - See that it highlights red
- Click on
New Post - See that the highlighted item in the navbar is now grey
- Also see the Typescript error when fuzzy option is being used
Expected behavior
With fuzzy enabled, on the posts/new route, the 'posts' navlink in the header should have still been red.
Screenshots or Videos
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
This seems to work in runtime but showing type errors
Metadata
Metadata
Assignees
Labels
No labels

