Online
Classroom

Introduction to TypeScript

Part of our "Web and Mobile" courses

1 day

thumb image

Course Overview

Course Prerequisites

This course is geared towards developers needing to get up to speed with TypeScript quickly. Developers should be experienced with JavaScript. We recommend students following the Introduction to Modern JavaScript and Advanced JavaScript for Front-end Developers coures prior to this course.

Outline

Introduction

  • Introduce TypeScript
  • Setting up a typescript project
  • Configuring the compiler
  • Use and configure TsLint

Namespaces

  • Understand modules and namespaces
  • Learn various import and export techniques

Type annotations

  • Understand the type system
  • Dealing with null and undefined (using strictNullChecks)
  • Write enums
  • Work with arrays
  • Use tuples
  • Advanced types such as unions and intersections

Functions

  • Working with functions
  • function parameters: optional, default values
  • Define rest parameters (aka varying arguments)
  • Appreciate overloading
  • Use type queries and guards

Interfaces

  • Define interfaces
  • Duck typing with interfaces
  • Define properties
  • Define optional properties
  • Declare readonly properties
  • indexable types
  • Define function and constructor types

Classes

  • Write classes
  • Adding properties
  • Adding methods
  • Understand scopes
  • Use inheritance
  • overriding methods
  • abstract classes/methods
  • Write accessors
  • Use static members

Other

  • Work with Generics (classes, interfaces, methods, etc.)
  • Introduction to writing and using Decorators

Private Events

Is your team in need of an Introduction to TypeScript course?

Send us a message, and we'll get in touch, without any obligation.

languages:
enfrnl

Upcoming Public Events

Currently we have no public courses planned for Introduction to TypeScript

This Introduction to TypeScript course looks very interesting, I do however have a question