Skip to main content

CourseBeta

Learn TypeScript Basics

Learn TypeScript from scratch, no JavaScript needed. Write typed variables, functions, arrays, interfaces and unions, then build a Task Tracker app.

  • Level: Beginner
  • Duration: 3 weeks
  • Type: Interactive
  • Language: English
  • Practice Problems: 40+
  • Quizzes: 60+
Enroll for FREE

Course Content

  • 1.1 What is TypeScript?
  • 1.2 How This Course Works

  • 2.1 Storing Values with Variables
  • 2.2 The Three Basic Types
  • 2.3 Telling TypeScript the Type
  • 2.4 Building Messages and Doing Math
  • 2.5 Recap: Variables and Basic Types

  • 3.1 Your First Function
  • 3.2 Giving a Function Information
  • 3.3 Getting an Answer Back
  • 3.4 Return Types and void
  • 3.5 Defaults and Arrow Functions
  • 3.6 Recap: Functions

  • 4.1 Lists of Values
  • 4.2 Growing a List
  • 4.3 Visiting Every Item
  • 4.4 Arrays and Functions
  • 4.5 Tuples
  • 4.6 Recap: Arrays and Tuples

  • 5.1 Grouping Values into an Object
  • 5.2 Describing a Shape
  • 5.3 Lists and Functions of Tasks
  • 5.4 Read-Only Properties
  • 5.5 Spotting Broken Tasks
  • 5.6 Recap: Objects, Interfaces and Type Aliases

  • 6.1 One Box, Two Types
  • 6.2 Checking Before Using
  • 6.3 Exact Values as Types
  • 6.4 Handling Each Case
  • 6.5 Recap: Union Types and Narrowing

  • 7.1 When a Value Is Missing
  • 7.2 Optional Properties and Parameters
  • 7.3 Checking Before You Use
  • 7.4 any and unknown
  • 7.5 Choosing the Safer Version
  • 7.6 Recap: Safer Code

  • 8.1 Classes: Data and Actions Together
  • 8.2 Building the TaskList
  • 8.3 Generics: One Function, Any Type
  • 8.4 Recap: Reusable Building Blocks

  • 9.1 Plan the Task Tracker
  • 9.2 Step 1: Types and a Task Card
  • 9.3 Step 2: Adding and Listing Tasks
  • 9.4 Step 3: Completing Tasks
  • 9.5 Step 4: The Summary Report
  • 9.6 Put It All Together
  • 9.7 You Built It
Start this Course
Get Certified

Frequently asked questions

You can start Learn TypeScript Basics with a 7-day free trial. Click "Enroll for FREE" to begin.

About 3 weeks. The course has 9 chapters.

No. Learn TypeScript Basics has no prerequisites. Level: Beginner.