Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn Intermediate TypeScript: Class Types

via Codecademy

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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.

Syllabus

  • TypeScript Class Types: Learn how to use TypeScript to apply types to class properties and methods.
    • Lesson: TypeScript Class Types
    • Project: Password Generator
    • Quiz: TypeScript Class Types
    • Informational: TypeScript Class Types Next Steps

Taught by

Kenny Lin

Reviews

5 rating at Codecademy based on 5 ratings

Start your review of Learn Intermediate TypeScript: Class Types

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.