Outline updated November 2026

Foundation14 hours delivered over 2 daysLive, online

Request this course

TypeScript Essentials

Class Duration

14 hours of live training delivered over 2 days.

Student Prerequisites

  • Prior programming experience in some language
  • JavaScript experience is helpful but not required
  • Comfortable working in an editor and a terminal

Target Audience

Programmers who are new to TypeScript and build modern web applications, including JavaScript developers adding static types. Ready to go deeper? Continue to Advanced TypeScript.

Description

This course gives programmers a solid foundation in TypeScript. It starts with how TypeScript relates to JavaScript and how to install and run the native compiler. Students then work through the type system: annotations, inference, unions, narrowing, and the special types any, unknown, and never. They define their own types, write generics, and use classes, interfaces, and standard decorators. The final modules cover a modern tsconfig, ES modules, bundling, type stripping in Node.js, and typing framework code.

Learning Outcomes

  • Explain how TypeScript relates to JavaScript.
  • Compare structural and nominal typing.
  • Narrow types with type guards.
  • Type primitives, objects, functions, enums, and unions.
  • Use any, unknown, and never correctly.
  • Define custom types with aliases, utility types, and mapped types.
  • Write generic functions and classes with constraints.
  • Check values against types with satisfies.
  • Build classes with interfaces, access modifiers, and decorators.
  • Clean up resources with using declarations.
  • Configure a strict tsconfig with ES modules.
  • Run TypeScript in Node.js with type stripping.

Training Materials

All students receive comprehensive courseware covering all topics in the course. Courseware is distributed via GitHub in the form of documentation and extensive code samples. Students practice the topics covered through challenging hands-on lab exercises.

Software Requirements

Students will need a free, personal GitHub account to access the courseware. Students will need permission to install Node.js and Visual Studio Code on their computers. Also, students will need permission to install NPM Packages and Visual Studio Code extensions. If students are unable to configure a local environment, a cloud-based environment can be provided.

Versions covered: TypeScript 7 on Node.js 26 LTS or another supported LTS line.

Training Topics

TypeScript Fundamentals and Setup

  • What is TypeScript?
  • JavaScript and TypeScript
  • Dynamic vs. static typing
  • Loose vs. strong typing
  • Limitations of TypeScript
  • Installing TypeScript and the native compiler
  • Compiling a simple program

AI Coding Assistants (optional)

  • AI assistants in VS Code
  • Generating and explaining types
  • Using an assistant for terminal commands
  • Using your team's AI tool

Typing Concepts

  • What is typing?
    • Memory structure
    • Semantic meaning
  • Structural typing
  • Nominal typing
    • Branding
    • Enums
    • Private members
  • Type narrowing
  • Type guards

Types

  • JavaScript types
  • Rule of first assignment
  • Static typing of primitives
  • Static typing of objects
  • Static typing of functions
  • Enum types
  • Discriminated unions
  • Union and intersection types
  • Nullish values and types
  • The any, unknown, and never types

Defining Types

  • Type aliases
  • Utility types
  • The typeof operator
  • The keyof operator
  • Indexed access types
  • Conditional types
  • Mapped types
  • Template literal types

Generic Types

  • Generic type parameters
  • Constraints
  • Inferring type parameters
  • Passing in type parameters
  • const type parameters
  • Generic classes and functions
  • The satisfies operator

Classical Object-Oriented Programming

  • Classes
  • Interfaces
  • Abstract classes
  • Access modifiers
  • Inheritance
  • Standard decorators
  • Legacy experimentalDecorators

Modern TypeScript Features

  • using and Symbol.dispose
  • await using for async cleanup
  • Type predicates and narrowing
  • infer and recursive types

Project Configuration and the Compiler

  • tsconfig essentials
  • Strict-by-default settings
  • module, target, and types
  • Removed legacy options
  • The native compiler

Using TypeScript for Applications

  • Bundling with Vite or esbuild
  • Rspack and Webpack
  • Type stripping in Node.js
  • Running TypeScript with tsx
  • ES modules
  • Named and default exports
  • JSON modules
  • Dynamic imports

TypeScript with Frameworks

  • Typing React components and hooks
  • Typing Angular components and services
  • Typing Express and Fastify handlers

Private team training

Bring this course to your team

Tell us about your team and we will tailor this outline to your tools, stack, and schedule. Courses can also be combined into a longer program.

  1. Tell us what you needYour tools, stack, team size, and timeline.
  2. We send a proposalA course or program, an outline adjusted to your team, and possible dates.
  3. Your team trains liveOnline or on-site, with courseware for every student.

Prefer to talk? Call +1 434-509-6890 or email help@cloudcontraptions.com.

We reply within 1 business day.

Training partner?