Sean Cassiere
Sean Cassiere
Just tested this using the latest version of TSR, and I don't see these error messages any more. @jakst could you confirm?
> I forgot to mention in the instructions that you have to actually make a change in the file to trigger the error, so that might be why you can't...
ToOptions wouldn't satisfy all the possible options that a `` could take. Try this. ```tsx import { LinkProps, Registered router } from "@tanstack/react-router" interface MyLinkProps { linkProps: LinkProps } ......
@schiller-manuel did anything change here? LinkProps used to work just fine.
So turns out this is what works. ```tsx const MyLink = < TRouteTree extends AnyRoute = RegisteredRouter['routeTree'], TFrom extends RoutePaths | string = string, TTo extends string = '', TMaskFrom...
> I also tried this version by @SeanCassiere. This was interesting because my editor is happy but `npm run build` still breaks: Not sure if this helps, but there's a...
> > I've seen many similar issues/discussions and stackoverflow posts. At this point, we could really use some official document / examples on how to wrap components in a type...
Redirects were broken between 1.28.2 and 1.31.1, but on the side of the Router context, nothing has changed in that area in a LONG time. We'd need a working reproduction...
I tried to reproduce this and wasn't able to recreate this on my end with version [1.31.3](https://github.com/TanStack/router/releases/tag/v1.31.3). Here's my attempt: https://stackblitz.com/edit/github-dxj2gr
Please recheck this. It's possible that this was inadvertently fixed with #1559.