Lurker News

Comments (191) 32 threads

Show all comments

Showing thread 5 of 32

cjdell3 replies#
I had no idea you could compose string literal types AND infer variables using interpolation syntax in the context of conditional types.

I am salivating at the potential use cases for this...

ricksharp#
Right! That is insane - I had no idea it was possible to infer part of a string literal.

My mind is exploding at the possibilities.

cjdell#
Lots of new toys to play with in this release! They've also explained each new feature really well...
dixon395#
Typescript was created to bring static types in dynamic language, like JS. Now they made the static types more dynamic. What's next?)