Course contentsShow
TypeScript
Lesson 669 of 1,79616. Utility TypesPro lesson

The Readonly<T> Utility

Makes all properties of type T readonly, preventing reassignment and enforcing immutability at compile time.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.