How to infer the type of Route component with the context of it? - TanStack