hands-on lab

Programming with TypeScript

Intermediate
Up to 8h
180
3.5/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.
Lab 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

About the author
Avatar
Ed Wright, opens in a new tab
Senior Learning Consultant
Students
24,942
Labs
6
Courses
29
Learning paths
18

Ed is an Outstanding Trainer in Software Development, with a passion for technology and its uses and holding more than 10 years’ experience.

Previous roles have included being a Delivery Manager, Trainer, ICT teacher, and Head of Department. Ed continues to develop existing and new courses, primarily in web design using: PHP, JavaScript, HTML, CSS, SQL, and OOP (Java), Programming Foundations (Python), and DevOps (Git, CI/CD, etc). Ed describes himself as practically minded, a quick learner, and a problem solver who pays great attention to detail. 

Ed’s specialist area is training in Emerging Technologies, within Web Development. Ed mainly delivers courses in JavaScript covering vanilla JS, ES2015+, TypeScript, Angular, and React (the latter is authored by Ed) and has delivered on behalf of Google for PWAs. Ed has also developed a new suite of PHP courses and has extensive experience with HTML/CSS and MySQL. 

Ed is responsible for delivering QA’s Programming Foundations course using the Eclipse IDE. His skillset extends into the DevOps sphere, where he is able to deliver courses based around Agile/Scrum practices, version control, and CI/CD.

Covered topics
Lab steps
Starting the Programming with TypeScript Exercises