Current lesson | Lesson 9/11

Access Modifiers in TypeScript: public and private

TypeScript in Practice: First Steps in OOP 0%
I'll explain how the public and private access modifiers work in TypeScript. Let's see how to use them to control the visibility of properties and methods, and protect the internal state of a class.
Instructor
Up next Inheritance, super, and the protected Modifier in TypeScript