Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Browse all series

Beginning TypeScript

As the complexity and scale of our apps forever increases, TypeScript has risen in popularity as people seek the reassurances of type safety in their applications. Major frameworks such as Vue have rewritten their entire code bases in TypeScript.

Nonetheless, there is a cost associated with adopting it. Teams must learn how to use a new set of tooling, think about their code in a different way, and learn concepts that may be foreign to them. This series aims to ease the transition to TypeScript. It assumes basic knowledge of JavaScript but otherwise serves as an introduction to the most common types that will enable you to build real applications in TypeScript.

Progress

Series Info

Episodes
11
Run Time
1h 32m
Difficulty
Intermediate
Last Updated
Jul 1, 2021
Version
TypeScript 4.3

Series Episodes

  1. Episodes (11)
    1. Hello, TypeScript

      In this lesson we learn how to install TypeScript and use its compiler. We cover the basics of setting up a tsconfig and how to configure our Typescript projects.
    2. Literals and Enums

      Next up, we'll cover some very useful types: Literal Types and Enums. We'll explore the difference between these two types and when you might reach for each.
    3. Void and Null

      Void and Null should be familiar types for any programmer. Conceptually, they are relatively simple types, thoughNull can be a tricky one - even in dynamic languages.
    4. Interfaces and Type Aliases

      In this lesson, we get into the most useful parts of TypeScript: Interfaces and Type aliases. The majority of TypeScript you will write or encounter in the wild will be Interfaces and Type aliases. One of the most common questions that newcomers ask is when to use one over the other. In this lesson, we'll answer that very question and highlight the subtle differences between the two types.
    5. Generics

      Generics can be scary topic at first - especially if you come from a language that doesn't support them. In this lesson, we break down Generics to their simplest form and show how they are a tool that we can leverage to express the relationship between types in our system. Generics allow us to create an interface or type alias that can work over a variety of types rather than a single one.

Continue Learning