Learn TypeScript: Type Narrowing
Offered By: Codecademy
Course Description
Overview
Gain insights into the runtime behavior of the TypeScript code by narrowing down union types.
Continue your TypeScript learning journey with Learn TypeScript: Type Narrowing. Leverage TypeScript’s type system to gain insights into the runtime behavior of your code by narrowing down what types unions may actually be.
### Skills you’ll gain
* Understand how TypeScript utilizes type narrowing at runtime.
* Write type guards to check if a variable is a specific type.
* Check if a property exists in an object using the `in` operator.
### Notes on prerequisites
We recommend that you complete [Learn TypeScript: Union Types](https://www.codecademy.com/learn/learn-typescript-union-types) before starting this course.
Continue your TypeScript learning journey with Learn TypeScript: Type Narrowing. Leverage TypeScript’s type system to gain insights into the runtime behavior of your code by narrowing down what types unions may actually be.
### Skills you’ll gain
* Understand how TypeScript utilizes type narrowing at runtime.
* Write type guards to check if a variable is a specific type.
* Check if a property exists in an object using the `in` operator.
### Notes on prerequisites
We recommend that you complete [Learn TypeScript: Union Types](https://www.codecademy.com/learn/learn-typescript-union-types) before starting this course.
Syllabus
- Type Narrowing: Leverage TypeScript’s type system to gain insights into the runtime behavior of your code by narrowing down what union types.
- Lesson: Type Narrowing
- Quiz: Type Narrowing
- Project: Park Service Volunteer Appreciation Program
- Informational: Next Steps
Taught by
Sarai Fernandez
Related Courses
DEV201x: Introduction to TypeScriptMicrosoft via edX Developing Dynamic Web Applications Using Angular
Microsoft via edX Introduction to TypeScript 2
Microsoft via edX Multiplatform Mobile App Development with NativeScript
The Hong Kong University of Science and Technology via Coursera Angular Fundamentals
Microsoft via edX