What is the purpose of the Pick<T, K> utility type in TypeScript?
To exclude properties K from type T.
To create a new type with only properties K from T.
To make all properties of T readonly.
To create an intersection type with T and K.
This question is part of this quiz :
Advanced Types in TypeScript QuizTypeScript | Advanced Types in TypeScript | Question9