Using Specialized Types and Language Features in TypeScript

Ever stumbled across a TypeScript issue and became totally overwhelmed with the abstract documentation of advanced concepts? This course will help you solve even the most challenging typing and modeling issues that you will encounter in TypeScript.
Course info
Rating
(42)
Level
Intermediate
Updated
Nov 22, 2019
Duration
1h 32m
Table of contents
Course Overview
Getting Started
Differentiate between Types with Type Guards
Making Your Types More Flexible with Conditional Types
Generating Complex Types Based on Existing Types
Extending Objects Safely with Symbols
Reducing the Size of Repetitive Data with Tuples
Extending the Functionality of Classes with Mixins
Modeling Idiomatic Data Sources with Iterators
Using Generators for Functions That Can Be Paused or Resumed
Description
Course info
Rating
(42)
Level
Intermediate
Updated
Nov 22, 2019
Duration
1h 32m
Description

Most developers find it hard to learn and understand the more advanced features of TypeScript because the documentation and examples are often way too abstract and difficult to relate to the real world. In this course, Using Specialized Types and Language Features in TypeScript, you’ll learn how to deal with challenging problems that you will find in any significantly sized code base. First, you’ll explore options for differentiating types from each other at compile and run time. Next, you’ll discover how to create types that are inferred from other types and even generate new types from existing types. Finally, you’ll learn how to model your code to deal with custom iteration, infinite sequences, and metaprogramming with symbols. When you’re finished with this course, you’ll have the skills and knowledge of TypeScript needed to keep your code base performant, flexible, and type-safe.

About the author
About the author

In his day job Hendrik is a full stack coder from Cape Town. For a large part of his career he worked with .NET, but the last few years he spent most of his time with JavaScript.

More from the author
Optimize Performance for React
Intermediate
55m
Apr 16, 2020
React Native: Getting Started
Beginner
1h 49m
Jun 20, 2018
More courses by Hendrik Swanepoel
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone, my name is Hendrik Swanepoel, and welcome to my course, Using Advanced Types and Language Features in TypeScript. I'm a software engineer at Over where we build next‑generation design apps for mobile and the web. Our web product at Over is built from the ground up with TypeScript, and I've learned some very valuable lessons that I hope to share with you. TypeScript is way more powerful than most people realize, with several lesser‑known more advanced features that, if used correctly, will make your code shine. In this course, we're going to cover your options for differentiating types from each other, both at compile time and at runtime. We'll also take a look at generating new types from existing types, and we'll look at options to better model your code at a structural level to address concerns like breaking apart massive glasses and building custom iterators. By the end of this course, you'll know how to keep your code type safe and use the best structures and types for the problem at hand in even the most tricky scenarios. If you're ready to take your TypeScript skills to the next level, you're at the right place. Before beginning this course, you should be familiar with basic TypeScript concepts like functions, classes, enums, and interfaces. I hope you'll join me on this journey to take your TypeScript skills to the next level with the Using Advanced Types and Language Features in TypeScript course, at Pluralsight.