How to infer query types on client? - tRPC