About this course

TypeScript adds types to JavaScript, so your editor can warn you about mistakes as you type and explain unfamiliar code. You will learn the type system from simple annotations to generics and narrowing, and migrate a JavaScript project to TypeScript step by step.

Level
Intermediate
Duration
14 hr
Delivery
Online
Lessons
6
Practical work
2 tasks
Award
Certificate of completion

What you will learn

  • Annotate functions, objects and arrays
  • Model data with interfaces, unions and literal types
  • Write reusable code with generics
  • Configure strict mode and migrate an existing project

Skills you gain

TypeScriptType designRefactoringTooling

Requirements

Prerequisites: Modern JavaScript Programming or equivalent.

  • Node.js and VS Code

Curriculum

Module 1: Type basics
  • Reading Why types help Preview8 min
  • Reading Interfaces, unions and narrowing12 min
  • Quiz Check: type basics8 min
Module 2: Advanced types
  • Reading Generics10 min
  • Exercise Exercise: type an API client40 min
Module 3: Migration
  • Project Project: migrate a JavaScript app90 min

Practical projects

Project: migrate a JavaScript app

Take a small JavaScript project and convert it to TypeScript with strict mode enabled, file by file. Remove every use of any by the end.

Submit the repository and a short note on the bugs the compiler found.

How you are assessed

  • 1 quiz with instant feedback and a 70% pass mark. You can retry as often as you need.
  • 1 practical exercise that applies the main ideas in practice.
  • 1 project assessed against the criteria in its brief.
  • Complete every lesson and pass every quiz to earn your CruzTech course certificate.

After this course

  • Work in TypeScript codebases with confidence
  • Lead a migration from JavaScript

Instructor

Programming Instructor
Programming languages and computer science

What is included

  • Quizzes with instant feedback
  • Private notes and progress tracking
  • Assignments reviewed by your instructor
  • CruzTech certificate on completion
  • Access to the support centre
  • Portfolio and career guidance

Frequently asked questions

Do I need to attend at a set time?

No. This programme is self-paced online.

Will I get a certificate?

Yes, a CruzTech completion certificate when you finish all lessons and pass the quizzes. It is not a degree or an external certification.

What if I get stuck?

Use the help centre or open a support ticket.

How do I pay?

Fees and payment explains the options. Scholarships may be available.

Reviews

No reviews yet. Learners can review after starting the course.