Class, Accessors and Properties in Typescript

 

  • Class and Object Initialization
    • Members (properties and methods) of the TypeScript class are public by default

 

 

 

  • Class Accessors / getters and setters
    • if no access modifier is given, then it's public by default.

 

 

 


Related Question