Learn Intermediate TypeScript: Generics
Offered By: Codecademy
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Unlock the power of TypeScript generics. Learn how to use generics with classes, type parameter defaults and constraints, and the `keyof` type parameter.
TypeScript generics provide a way to make your code reusable for different data types. This course delves into the use of generic type parameters in TypeScript and explores how to effectively apply them in various scenarios. Through practical examples like a currency converter app, you'll learn how to use generic types in classes, set default types, apply constraints, and utilize `keyof` types. These techniques will help you create more reusable code.
* Apply TypeScript generics to create flexible functions and classes
* Set default types and constraints for generics
* Apply generics for `keyof` types
TypeScript generics provide a way to make your code reusable for different data types. This course delves into the use of generic type parameters in TypeScript and explores how to effectively apply them in various scenarios. Through practical examples like a currency converter app, you'll learn how to use generic types in classes, set default types, apply constraints, and utilize `keyof` types. These techniques will help you create more reusable code.
* Apply TypeScript generics to create flexible functions and classes
* Set default types and constraints for generics
* Apply generics for `keyof` types
Syllabus
- TypeScript Generics: Learn about TypeScript Generics
- Lesson: Intermediate TypeScript Generics
- Project: Currency Conversions
- Quiz: Intermediate TypeScript Generics Quiz
- Informational: TypeScript Generics Next Steps
Taught by
Kenny Lin
Related Courses
Angular 17LearnQuest via Coursera Automated Reasoning with GPT Assistant API: ReAct Agents
Coursera Project Network via Coursera Becoming a 10X Developer Using Amazon CodeWhisperer (Korean)
Amazon Web Services via AWS Skill Builder Build a simple company expense tracker with Typescript
Coursera Project Network via Coursera Build ATM User Interface using Routing in Angular
Coursera Project Network via Coursera