EIEIOTECHNOVATION
← Training programmes

EIEIO / AUTOMATION & EMERGING TECHNOLOGY

TypeScript Duration:3 days

Course outline

Duration to discuss

Introduction

Any programmer working with a dynamically typed language will tell you how hard it is to scale to more lines of code and more engineers. That is why Facebook, Google, and Microsoft invented gradual static type layers for their dynamically typed JavaScript and Python code. This practical book shows you how one such type layer, TypeScript, is unique among them: it makes programming fun with its powerful static type system.

In this course, you will:

  • Start with the basics: Learn about TypeScript’s different types and type operators, including what they are for and how they are used.
  • Explore advanced topics: Understand TypeScript’s sophisticated type system, including how to safely handle errors and build asynchronous programs
  • Dive in hands-on: Use TypeScript with your favorite frontend and backend frameworks, migrate your existing JavaScript project to TypeScript, and run your TypeScript application in production

Course Prerequisite

Knowledge and experiences working with other programming languages is a bonus but are not necessarily required.

PART 1 – GETTING STARTED WITH TYPESCRIPT

  • Your First TypeScript Application
  • Setup
  • Creating the Project
  • Using a Third-Party Package
  • Adding Commands
  • Using the TypeScript Compiler
  • Understanding the Project Structure
  • Using the Node Package Manager
  • Compiling TypeScript Code
  • Using the Version Targeting Feature
  • Selecting a Module Format
  • Useful Compiler Configuration Settings
  • Testing and Debugging TypeScript
  • Debugging TypeScript Code
  • Using the TypeScript Linter
  • Unit Testing TypeScript
  • Understanding Static Types
  • Using Type Unions
  • Using Type Assertions
  • Using a Type Guard
  • Using the unknown Type
  • Using Nullable Types
  • Using Functions
  • Defining Functions
  • Using Arrays, Tuples, and Enums
  • Working with Arrays
  • Working with Tuples
  • Using Enums
  • Using Literal Value Types
  • Using Type Aliases
  • Working with Objects
  • Using Type Intersections
  • Working with Classes and Interfaces
  • Using Constructor Functions
  • Using Classes
  • Using Interfaces

Programme scope, delivery arrangements and suitability are confirmed during enquiry.