Advanced Type Engineering

Complete this assessment with 100% score to master this chapter.

01Which Utility Type makes every property in an interface optional?

02What is a 'Discriminated Union'?

03Which operator returns a union of all keys of an object type?

04What is the return type of a 'User-Defined Type Guard' function?

05What does 'Pick<User, "id" | "name">' do?