Which TypeScript utility type makes all properties of a type optional?

TypeScript Associate Easy

TypeScript Associate — Easy

Which TypeScript utility type makes all properties of a type optional?

Key points

  • Partial utility type in TypeScript makes all properties optional
  • It is useful for creating new types with optional properties
  • Partial does not make properties nullable, just optional

Ready to go further?

Related questions