Is there a typesafe way to build a path to string? - TanStack