Creating and Using Generics in TypeScript

TypeScript generics empower you to create reusable, type-safe code for your web applications. This course will teach you how to recognize and use built-in generics as well as how to create your own generic functions, interfaces, and classes.
Course info
Rating
(83)
Level
Intermediate
Updated
Nov 12, 2019
Duration
49m
Table of contents
Description
Course info
Rating
(83)
Level
Intermediate
Updated
Nov 12, 2019
Duration
49m
Description

In order to fully harness the power of TypeScript, you need to take advantage of all the tools it provides for developing reusable, type-safe code. In "Creating and Using Generics in TypeScript", you will learn how to do more with less code. You will learn what generics are, how to recognize and use built-in generic types, and how to create your own generic functions, interfaces, and classes. When you are finished with this course, you will have a foundational understanding of TypeScript generics as well as the skills to begin using generics to build sophisticated web applications.

About the author
About the author

Brice has been a professional developer for over 20 years and loves to experiment with new tools and technologies. Web development and native iOS apps currently occupy most of his time.

More from the author
C Language: The Big Picture
Beginner
39m
Aug 19, 2020
Debugging Sites Using Chrome DevTools
Intermediate
1h 46m
Jun 12, 2020
Async Patterns in Node.js
Intermediate
1h 26m
Feb 28, 2020
More courses by Brice Wilson
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hey everybody. My name is Bryce Wilson, and welcome to my course, Creating and Using Generics in TypeScript. I'm a server- and client-side web developer. TypeScript is an increasingly popular programming language choice for browser and Node developers. It helps you write type-safe code with fewer errors. Generics are a feature of TypeScript, which allows you to take advantage of that type safety while creating code you can reuse throughout your apps. Some of the major topics that we'll cover include using built-in generic types, creating your own generic functions, and creating and using generic interfaces and classes. By the end of the course, you'll have a solid understanding of what generics are, when to consider using them, and how to implement them in your code. Before beginning this course, you should be familiar with the basics of TypeScript, but you certainly don't need to be an expert. I hope you'll join me on this journey to learn TypeScript generics with the Creating and Using Generics in TypeScript course, at Pluralsight.