TypeScript tutorial: Generics and Type Parameters

TypeScript tutorial: Generics and Type Parameters

truejs

7 лет назад

10,987 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@edgarsantos7782
@edgarsantos7782 - 01.05.2019 14:12

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

Ответить
@sergio_8354
@sergio_8354 - 22.01.2019 17:05

That the best ever tutorial about generics! Thanks!

Ответить
@DaZZlAck385
@DaZZlAck385 - 01.04.2018 17:15

Thank you so much

Ответить
@JesseBaker121
@JesseBaker121 - 14.01.2018 20:50

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

Ответить