Practical Advanced TypeScript

1h 2m
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.6
1186
people completed
Bookmark
Download
RSS

This course explores some of the new advanced TypeScript features, using practical examples you might encounter in your projects.

We’ll start off by demonstrating two new features that improve readability (numeric separators) and tighten type strictness in classes (strict property initialization). We’ll then improve type guards with a practical Redux-inspired example, followed by a lesson about writing more readable mapped type modifiers. We’ll use a summary on types vs. interfaces to transition to self-referencing types examples (and how to build custom type safe iterators around them). We’ll then cover a few ways to use the new conditional types, including building a recursive generic type that transforms any other type you pass into it, regardless of how deep it is, and makes it read-only — great for your immutable states!

Finally, we’ll end with a lesson on building and chaining decorators to initialize and augment properties in classes.

Instructor

Rares Matei

I organize the GlasgowJS meetup here in Scotland where I also work remotely and I help run/mentor/teach at https://codeyourfuture.io/

Course content (15 lessons)

    illustration for Practical Advanced TypeScript