Swipe
SwipeSwipe
Swipe Apps

Paths

Motivation

Information

Swipe Coding · free lessons

Learn TypeScript

12 short lessons from the first two levels of the TypeScript track — real examples, quick checks and a quiz after every chapter. About 5 minutes each.

Start with “What Is TypeScript?” →

Level 1

Why TypeScript?

  1. 1What Is TypeScript?→
  2. 2The History of TypeScript→

+ chapter quiz (7 questions) at the end

Level 2

Arrays & Tuples

  1. 7Typed Arrays→
  2. 8Tuples→
  3. 9Readonly Arrays & Tuples→

+ chapter quiz (10 questions) at the end

Special Types

  1. 10The any Type→
  2. 11The unknown Type→
  3. 12Literal Types→

+ chapter quiz (10 questions) at the end

Continue in the app: levels 3–20

The full TypeScript track goes much further. Here's what comes next:

Level 3🔒 in the app

Typing Functions · Function Types

Level 4🔒 in the app

Object Types · Interfaces

Level 5🔒 in the app

Type Aliases & Intersections · Union Types

Level 6🔒 in the app

Enums · Advanced Narrowing

Level 7🔒 in the app

Class Basics · Access Control

Level 8🔒 in the app

Inheritance · Interfaces & Abstraction

Level 9🔒 in the app

Generic Basics · Generic Constraints

Level 10🔒 in the app

keyof & typeof · Assertions

Level 11🔒 in the app

Shaping Types · Deriving Types

Level 12🔒 in the app

Modules in TypeScript · Organizing Code

Level 13🔒 in the app

Typed Promises · Async/Await

Level 14🔒 in the app

Typed DOM · Forms & Custom Events

Level 15🔒 in the app

.d.ts Files · Using JS Libraries

Level 16🔒 in the app

tsconfig.json Essentials · Strict Mode

Level 17🔒 in the app

Project Setup · Typed Node APIs

Level 18🔒 in the app

Class & Method Decorators · Property Decorators & Practical Use

Level 19🔒 in the app

Type-Safety Best Practices · Structuring Larger Projects · Testing Typed Code

Level 20🔒 in the app

Designing Type-Safe APIs · Migrating JavaScript to TypeScript · Building for Production