What does the Required utility type do?

TypeScript Associate Medium

TypeScript Associate — Medium

What does the Required utility type do?

Key points

  • Required utility type enforces required properties
  • It does not make all properties optional
  • It specifically targets optional properties, not all properties

Ready to go further?

Related questions