useMutation update function typescript

Is there a typescript example for useMutation with the update function as per the docs?
Mutations - Client (React) - Apollo GraphQL Docs.

The typescript doco doesn’t have it either Using Apollo with TypeScript - Client (React) - Apollo GraphQL Docs

@ray our fullstack tutorial has TypeScript useMutation examples:

1 Like