How to get type of params of a route? - TanStack