Readonly
Everything on SkillVeris tagged Readonly — collected across the glossary, study notes, blog, and cheat sheets.
3 resources across 2 libraries
Study Notes(2)
Optional and Readonly Properties in TypeScript
Learn how to mark object properties as optional with `?` and immutable with `readonly`, and understand the compile-time-only nature of these guarantees.
Readonly Properties in TypeScript
Use the readonly modifier to prevent a class property from being reassigned after it is initially set in the constructor or at declaration.