TypeScript Berlin Meetup #2: Generics, Conditional types and Mapped types

preview_player
Показать описание
Achieving state-of-the art developer experience by combining generics, conditional types and mapped types— Tim Suchanek

🗣Achieving state-of-the art developer experience by combining generics, conditional types and mapped types

*Bio:* Tim is the lead TypeScript developer at Prisma, based in Berlin. Creating web applications for over 10 years, he enjoys great developer experience and cutting edge technologies.

Links:

------------------------
Next:
------------------------
📚 Resources:

✅ Learn more about Prisma:

------------------------
💬 Connect with Prisma:

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

I rate this as one of the most useful short talks on TypeScript's type system

justinkim
Автор

That was a really helpful talk, full of information and examples, I'm glad it is available. You gave really concrete examples of some of the mapped type utilities that are confusing. One item that you moved past quite quickly was the addition of the [keyof T] on to the end of the Type definition of GetTruthyKeys<> - you said "we filter it so that it just includes the keys". I would love a little more detail on just that piece as I've not seen it talked about anywhere else.

jasonstewart
Автор

Super. Important topic, but there is not much videos on that yet. Congrats.

pezo
Автор

At 14:03, looks like this work as expected in 2023 without the need for bringing the Subset type into the mix. Am I missing something?

faruzzy
Автор

21:22 it doesn't seem to be that simple.

deepfuchsia
Автор

here is an idea, how about not make what's simple complex. Stick to JS.

troooooper