Skip to main content
PProfileMatch

TypeScript · TypeScript Narrowing, Utility Types and tsconfig.json Setup

Question 1 of 5

Given the type below, which object is rejected as a ProfileUpdate?

interface Profile {
  id: number; name: string;
  skills: string[]; openToWork: boolean;
}
type ProfileUpdate = Partial<Omit<Profile, "id">>;

Tip: press 1-4 to answer, Enter to continue. Finish the quiz to bank your XP.