About this course

Course type Performance Plus
Course code QAPTS
Duration 2 Days

TypeScript is a superset of the JavaScript language that introduces Type Safety to the ---language. This two-day practical programming course will introduce you to scalable, safe and maintainable JavaScript code that can be used with any modern framework including Angular2 and ReactJS

Prerequisites

It is essential you understand the face of contemporary web development to attend this course. We insist upon JavaScript experience equivalent to the skills covered in Programming with JavaScript (QAJAVSC) and recommend attending Next Generation JavaScript: ECMAScript 2015 (QAES2015) before attending this course.

Please note: Before attending this class delegates must have a Microsoft account (signing up one is free). The instructions on how to set up a Microsoft account can be found here.

Outline

1. Introduction

  • a. ES5, ES2015 and TypeScript
  • b. Why use TypeScript?
  • c. Installing TypeScript
  • d. Developer Tools
  • e. Compiling TypeScript to JavaScript

2. Static Types

  • a. Instantiating statically typed variables
  • b. Using Arrays, Tuples and Enums
  • c. The Any, Void and never types
  • d. Using type assertion

3. Classes

  • a. Basic classes
  • b. Creating inheritance
  • c. Access modifers
  • d. Static properties
  • e. Abstract classes

4. Interfaces

  • a. Using interfaces
  • b. Optional properties
  • c. Treatment of object literals
  • d. Function, Index and Class types

5. Generics

  • a. Introduction to Generics
  • b. Generic Functions
  • c. Generic Interfaces
  • d. Generic Classes
  • e. Constraining Generics

6. Modules

  • a. Nomenclature
  • b. What are modules?
  • c. Exporting
  • d. Importing
  • e. Compilation

7. Namespaces

  • a. Namespaces
  • b. Dealing with multiple files
  • c. Using Aliases
  • 8. Decorators
  • 9. Working with External Libraries
Performance Plus

2 Days

Duration

This course is authored by QA

Delivery Method

Delivery method

Classroom

Face-to-face learning in the comfort of our quality nationwide centres, with free refreshments and Wi-Fi.

Trusted, awarded and accredited

Fully accredited to ensure we provide the highest possible standards in learning

All third party trademark rights acknowledged.