Overview
TypeScript brings static type checking to JavaScript, but this only scratches the surface of what makes TypeScript a truly unique and powerful language. This session will cover some under-utilized and lesser-known TypeScript features. Rob will demonstrate how they can be used to enhance the typing in a simple app, resulting in code that prevents bugs and is easy to work with. By the end of the session, you’ll have a few new tricks up your sleeve to help kick the habit of casting to “any” whenever TypeScript gets in the way.
Objective
Unlock the full potential of TypeScripts and avoid common pitfalls
Five Things Audience Members Will Learn
- How TypeScript’s structural typing makes it different from other languages
- How unions power a number of advanced TypeScript features
- How to transform types using the built in utility types
- When to use TypeScript generics
- How to express complex type constraints
Target Audience
Developers with some TypeScript experience