by bilalq on 9/21/2022, 8:29:00 PM
by JohnDotAwesome on 9/21/2022, 9:30:06 PM
For those wanting a TS Playground link: https://tinyurl.com/mw6pbpht
by foota on 9/21/2022, 9:25:05 PM
What the fuck
by cercatrova on 9/21/2022, 9:38:30 PM
Related, discussed previously, Type-Level TypeScript: https://news.ycombinator.com/item?id=32913125
by durnygbur on 9/22/2022, 7:56:58 AM
So which one should now one study - TypeScript type system, RxJS operators, or the next generation of vomit produced by the Angular team? Together they compose extremely unfunny clusterfuck. For now my CVs all fall into a black hole, you better not fall off the employment train.
by koshergweilo on 9/21/2022, 10:50:53 PM
An interesting tidbit that I found in the source code is that it only accepts integers from 1 to 20. Perfectly sufficient for its use case, although not quite extendable as I would hope
by noduerme on 9/21/2022, 9:36:25 PM
This is neat. Can someone explain why the generic types extending string need to default to any in all these cases, like: `TDescription extends string = any` ?
by dschuessler on 9/21/2022, 8:45:37 PM
What a beautiful little treat. For everyone curious, it took me less than ten minutes to play through. Well done!
by wildgeodude on 9/22/2022, 7:22:15 AM
This is really neat, thanks!
by have_faith on 9/21/2022, 8:23:57 PM
How do you play the game?
by notjustanymike on 9/21/2022, 9:04:01 PM
Weirdly, a spider killing me isn't the worst thing I've seen written in Typescript.
I never get tired of seeing fun little things like this. Is there a way to make VSCode not truncate the type info?