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

  Рет қаралды 15,446

Prisma

Prisma

Күн бұрын

Пікірлер: 13
@justinkim7202
@justinkim7202 Жыл бұрын
I rate this as one of the most useful short talks on TypeScript's type system
@jasonstewart7983
@jasonstewart7983 2 жыл бұрын
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.
@pezo1919
@pezo1919 4 жыл бұрын
Super. Important topic, but there is not much videos on that yet. Congrats.
@faruzzy
@faruzzy Жыл бұрын
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?
@DanielLauzon
@DanielLauzon 3 жыл бұрын
Spectacular. Thanks for this!
@user-fg6ng7ej6w
@user-fg6ng7ej6w 2 жыл бұрын
good overview, thanks
@Shubham-xh9nz
@Shubham-xh9nz 2 жыл бұрын
damn this was so cool
@deepfuchsia7204
@deepfuchsia7204 4 жыл бұрын
21:22 it doesn't seem to be that simple.
@troooooper100
@troooooper100 4 жыл бұрын
here is an idea, how about not make what's simple complex. Stick to JS.
@kresimircosic3753
@kresimircosic3753 4 жыл бұрын
I am pretty new to TypeScript, but I can already say that understanding it really can make the IDE life much easier.
@ljuglampa
@ljuglampa 3 жыл бұрын
Yes that's definitely an idea. It's unfortunately a terrible one. I was skeptical too at first but now I won't code anything in JS unless I really have to. TypeScript is better in every single way.
@akifimran9780
@akifimran9780 Жыл бұрын
I was kinda skeptical to accept the TS life as well but that I am here I don't wanna go back to just JS.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 17 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 14 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 41 МЛН
Generics: The most intimidating TypeScript feature
18:19
Matt Pocock
Рет қаралды 185 М.
Conditional Types - Advanced TypeScript
23:10
Dmytro Danylov
Рет қаралды 38 М.
No BS TS #14 - Mapped Types in Typescript
9:33
Jack Herrington
Рет қаралды 22 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 186 М.
Generics in Typescript
12:28
Hitesh Choudhary
Рет қаралды 22 М.
TypeScript Origins: The Documentary
1:21:36
OfferZen Origins
Рет қаралды 297 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 17 МЛН