TypeScript tutorial: Generics and Type Parameters

preview_player
Показать описание


Looking for reliable online sources to learn TypeScript to take your JavaScript to the next new level?

Well you’re at the right place here. This TypeScript Fundamental series contains everything necessary to bring you a complete understanding of TypeScript.

Рекомендации по теме
Комментарии
Автор

This was really clear and concise. I had a base idea of how they worked but i wasn't 100%, now i feel like I'm getting there

JesseBaker
Автор

In the Angular context, let's say you have a component with an input foo:any; How could I pass a generic instead of any in this case? As when Angular creates the component it doesn't let is pass a generic type. Please let me know if you want me to explain better. Thanks

edgarsantos
welcome to shbcf.ru