type of a TRPC mutation
What is the type of a TRPC mutation if I want to pass it into a component
export default function MyComponent({ myMutation} : {myMutation: ???} {
// mutating things...
}@tanstack/react-querys UseMutationResult type@tanstack/react-queryUseMutationResulttype MutationType = ReturnType<typeof trpc.users.generateApiKey.useMutation>