Basics

Challenges

Classes

Cookies

Debugging

Events

External Files

Flow Control

Forms

Functions

Html Elements

Installation

Interfaces

Keywords

Modules

Namespaces

Operators

Reference Files

String

Types

TypeScript - Basics

Classes have the following features:

  • Method implementation details and definition
  • Property implementation
  • Accessors (getters and setters)
  • Access modifiers (public, private, or protected)

Whenever you want to refer to a class member that belongs to the class you're in you need to prefix the reference to the member with this followed by a period. this.MyMethod()