Is this use of FileRouteTypes['to'] valid? - TanStack