Skip to content
RED SAG Skills
mediumStudy question · answer published in TypeScript interview questions, so no pointsjavascripttypescriptutility-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