Skip to content

TypeScript


StayAhead Training

Summary

Price
£1,440 inc VAT
Study method
Distance + live classes
Duration
2 days · Full-time
Qualification
No formal qualification
Certificates
  • Certificate of completion - Free
Additional info
  • Tutor is available to students

Overview

T

he TypeScript course comprises sessions dealing with setting up TypeScript, adding to a project in either React or Angular, static types, access modifiers, classes, testing and debugging, and exporting code in modules.

The delegate will learn how to use TypeScript to build compositional applications through use of inheritance and interfaces.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

The delegate will learn and acquire skills as follows:

  • Installing TypeScript
  • Using TypeScript developer tools
  • Preparing a TypeScript project:
    • Standalone with Webpack
    • In the Angular CLI
    • In create-react-app
  • Using types, variables, functions
  • Using classes and interfaces
  • Using arrays, tuples, and enums
  • Understanding and applying generics
  • Creating namespaces and modules
  • Compiling and running TypeScript
  • Testing TypeScript

Certificates

Certificate of completion

Digital certificate - Included

Description

Course Contents - DAY 1:

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: INTRODUCTION

  • What is TypeScript
  • Need for type safety at scale
  • TypeScript and transpilers
  • Using TypeScript with different frameworks and libraries

Session 2: ADDING TO A PROJECT

  • Adding TypeScript as standalone JS
  • Webpack
  • Angular CLI
  • React using create-react-app
  • Using Visual Studio Code as an IDE

Session 3: TYPES

  • Static types
  • The any type
  • The void type
  • The never type

Session 4: TYPE ASSERTION AND COERCION

  • Using type assertion
  • Understanding type coercion
  • ES6 strict mode
  • Wrapper classes

Course Contents - DAY 2:

Session 5: CLASSES

  • Class design
  • Encapsulation and access modifiers
  • Static context
  • Creating inheritance
  • Underlying structures: TS, ES6, prototype
  • Abstract classes

Session 6: INTERFACES

  • Compositional architecture
  • Optional properties
  • Object literals
  • Function, index, and class types

Session 7: GENERICS

  • Generic functions
  • Generic classes
  • Generic interfaces
  • Controlling collections with generics

Session 8: TYPESCRIPT AND THE REST OF JAVASCRIPT

  • Namespaces
  • Modules and exports
  • Debugging
  • Compiling and testing

Who is this course for?

This course aims to provide the delegate with the knowledge to be able to add type safety and a compile-time stage, along with extra linting and debugging tools, using this recently-developed superset of the JavaScript language.

Requirements

Delegates attending this course should be able to define general programming concepts including compilation and execution, variables, arrays, sequence, selection and iteration, navigate the filesystem (on the command line ideally), edit and save text files and browse the web. This knowledge can be obtained by attendance on the pre-requisite Introduction to Programming course.

Delegates should in addition be conversant with modern ES6 JavaScript and ideally already using a JavaScript framework. This minimum level of knowledge can be obtained by attendance on the pre-requisite JavaScript 1 course.

Questions and answers

Reviews

Currently there are no reviews for this course. Be the first to leave a review.

FAQs