Using generics duplicates the types instead of referring to the existing types - tRPC