hands-on lab

Programming with TypeScript

Difficulty: Intermediate
Duration: Up to 8 hours
Students: 207
Rating: 3.2/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

This laboratory is contributed and maintained independently by a third-party (QA).  It may contain imperfections in the instructions due to the passage of time.

TypeScript is a superset of the JavaScript language that introduces type safety to the language. This programming lab will introduce you to scalable, safe and maintainable JavaScript code that can be used with any modern framework including Angular2+ and ReactJS.

In this lab, you will learn the core and advanced topics related to TypeScript.

Learning Objectives

Upon completion of this lab you will be able to:

  • Set up a TypeScript development environment
  • Declare and use tuples
  • Exploit the unknown and type assertions
  • Manage classes and interfaces
  • Work with generics and decorators

Intended Audience

This lab is intended for:

  • Individuals who want to learn TypeScript
  • Developers who need to use TypeScript in real-world projects
  • People who want to improve their TypeScript skills

Prerequisites

To make the most of this lab, you should have intermediate JavaScript skills. Completion of the Web Development Fundamentals - JavaScript lab is highly recommended to satisfy this prerequisite.

Updates

October 21st, 2020 - Updated quick lab 1b instructions and quick lab 7 tsconfig.json to resolve issues

July 8th, 2020 - Enabled direct browser RDP connection for a streamlined experience

June 15th, 2020 - Corrected typo when opening the TypeScript exercise guide

Covered topics

Lab steps

Starting the Programming with TypeScript Exercises