TypeScript | Generics in TypeScript | Question7

Last Updated :
Discuss
Comments

What is the purpose of the Partial<T> built-in generic type in TypeScript?

To make all properties of T required.

To enforce strict null checking on T.

To make all properties of T optional.

To exclude properties from T.

Share your thoughts in the comments