TypeScript lets you write JavaScript the way you really want to. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. TypeScript is pure object oriented with classes, interfaces and statically typed like C# or Java. The popular JavaScript framework Angular 2.0 is written in TypeScript. Mastering TypeScript can help programmers to write object-oriented programs and have them compiled to JavaScript, both on server side and client side.
Audience
Programmers coming from Object Oriented world will find it easy to use TypeScript. With the knowledge of TypeScript, they can build web applications much faster, as TypeScript has good tooling support.
Prerequisites
As a reader of this tutorial, you should have a good understanding of OOP concepts and basic JavaScript, to make the most of this tutorial.
-
OUTLINES
- 01 – Introduction to TypeScripts
- 02 – Compiling TypeScript
- 03 – Type Basics
- 04 – Objects & Arrays
- 05 – Explicit Types
- 06 – Dynamic (any) Types
- 07 – Better Workflow & tsconfig
- 08 – Function Basics
- 09 Type Aliases
- 10 – Function Signatures
- 11 – The DOM & Type Casting
- 12 – Classes
- 13 – Public, Private & Readonly
- 14 – Modules
- 15 – Interfaces
- 16 – Interfaces with Classes
- 17 – Rendering an HTML Template
- 18 – Generics
- 19 – Enums
- 20 – Tuples
- 21 – Wrap Up