• Courses
  • Tutorials
  • Practice
  • Contests
Switch to Dark Mode

TypeScript | Advanced Types in TypeScript | Question9

Last Updated : Mar 22, 2025
Discuss
Comments

What is the purpose of the Pick<T, K> utility type in TypeScript?

A

To exclude properties K from type T.

B

To create a new type with only properties K from T.

C

To make all properties of T readonly.

D

To create an intersection type with T and K.

Share your thoughts in the comments