Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Master TypeScript types in object-oriented patterns. Learn how to utilize keywords to control when class properties and methods are used.
This course dives into the application of TypeScript types to classes. You'll learn how to use TypeScript's variety of keywords, `public`, `private`, `protected`, and `readonly`, to enforce privacy within classes and control where and when a class property or method is executed or shared. Through practical examples like a password generator app, you'll understand how these keywords can add clarity to your code, reduce the chance of bugs, and help keep your code organized and consistent.
* Control properties and methods in classes using TypeScript keywords
* Apply object-oriented patterns using TypeScript
* Enforce privacy within classes using TypeScript keywords
This course dives into the application of TypeScript types to classes. You'll learn how to use TypeScript's variety of keywords, `public`, `private`, `protected`, and `readonly`, to enforce privacy within classes and control where and when a class property or method is executed or shared. Through practical examples like a password generator app, you'll understand how these keywords can add clarity to your code, reduce the chance of bugs, and help keep your code organized and consistent.
* Control properties and methods in classes using TypeScript keywords
* Apply object-oriented patterns using TypeScript
* Enforce privacy within classes using TypeScript keywords