Skip to content
RED SAGSkills
medium10 pts · first answer countsjavascripttypescriptutility-types

Type for a PATCH body

A PATCH /users/:id endpoint accepts any subset of name, email and phone, but never id. Given type User = { id: string; name: string; email: string; phone: string }, which type fits?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions