Properly handle unifying interfaces from tRPC call? - tRPC