You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an Type error when i try to use react-router-with-query. I followed the template and searched all documents for a solution or implementation, nothing exists. There are few other ones, but this has more bad ripple effect
router.tsx ( with query client )
Type Error:
Argument of type 'Router<RootRoute<undefined, {}, AnyContext, AnyContext, {}, undefined, RootRouteChildren, FileRouteTypes>, ... 4 more ..., Record<...>>' is not assignable to parameter of type 'never'.
Tried all possible combinations but only way to skip is use "any" as type but then it is not the right solution and also throws type error in other parts of router use.
Which project does this relate to?
Start
Describe the bug
There is an Type error when i try to use react-router-with-query. I followed the template and searched all documents for a solution or implementation, nothing exists. There are few other ones, but this has more bad ripple effect
router.tsx ( with query client )

Type Error:
Argument of type 'Router<RootRoute<undefined, {}, AnyContext, AnyContext, {}, undefined, RootRouteChildren, FileRouteTypes>, ... 4 more ..., Record<...>>' is not assignable to parameter of type 'never'.
Tried all possible combinations but only way to skip is use "any" as type but then it is not the right solution and also throws type error in other parts of router use.
Your Example Website or App
localhost
Steps to Reproduce the Bug or Issue
Use https://github.com/tanstack/router/tree/main/examples/react/start-basic-react-query template
Expected behavior
Create Router without any type issues
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: