illustration for Advanced TypeScript Fundamentals
pro

Advanced TypeScript Fundamentals

Instructor

Marius Schulz

1h 14m closed-captioning
·
18 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.8
541
people completed
Published 4 years ago
|
Updated 4 years ago

Using TypeScript in your project has never been easier than it is today. The TypeScript team has continually added features to allow you to reap the benefits of static typing while reducing the overhead to get there.

This course will teach you these new language features TypeScript has to offer. You'll use optional chaining, handle undefined behavior with the unknown type and assertion functions, create private classes, handle tuple (and other data types) types, as well as learn about conditional types.

You'll also learn how to prevent type widening with TypeScript's new const assertions and efficiently type string literals through the use of template literals.

All of these skills will be brought together into examples that Marius will show you how to apply these new TypeScript features to real-world problems.

What you'll learn:

  • Safely traversing objects with optional chaining
  • Prevent type widening with const assertions
  • Handle undefined behavior with the unknown type
  • Produce unions of string literals with template literal types
  • Create truly private classes

Course Content

1h 14m • 18 lessons

    You might also like these resources:

    illustration for Advanced Static Types in TypeScript
    Marius Schulz・1h7m・Course

    Explore the capabilities of TypeScript’s type system and learn how to use advanced static types in practice.

    illustration for Use Types Effectively in TypeScript
    Ari Picker・29m・Course

    TypeScript applies a fundamental change to JavaScript and applies static typing to the code in our apps. This course will dive into the type system that TypeScript provides.

    illustration for Practical Advanced TypeScript
    Rares Matei・1h2m・Course

    This course explores some of the new TypeScript features, using examples you might encounter in your projects. You'll explore type guards, mapped types, interfaces, and more!