TypeScript Readonly and Static

TypeScript readonly and static keywords are used to modify the behavior of properties and methods. Readonly in Typescript If we mark any property or member as readonly in typescript, the value for that member cannot be changed further. We can only read the value assigned and cannot modify or update. Let’s take an example of …

TypeScript Readonly and Static Read More »