Give me your best real world use cases of conditional types and inference types in TypeScript. Can be open source or not. Retweets appreciated.
Odgovor korisnicima @MatthewGerstman @jonihasanen
Matchkin (https://github.com/jviide/matchkin ) contorts conditional & inference types to implement statically checked exhaustive matching.
Maybe it would've been possible to get something similar w/o those specific TS features. It has its uses, though.
Sorry for the potato quality video
pic.twitter.com/OORQoiSxA0
09:05 - 27. sij 2020.
0 replies
0 proslijeđenih tweetova
1 korisnik označava da mu se sviđa
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.