2 ms·
Looks like some improvements to spread operators and tuples, which is welcome. I'm most excited about: TypeScript 4.0 supports a promising proposal to add thre
by eloff 6y ago
Looks like some improvements to spread operators and tuples, which is welcome.
I'm most excited about: TypeScript 4.0 supports a promising proposal to add three new assignment operators: &&=, ||=, and ??=.
Which is a nice shortcut for operators I use often.
No huge changes here that I can see, just small steady improvements to an already excellent language.
- searchableguy 6y agoVariadic tuple types are so good for library maintainers. Being able to spread your types is a huge delight. For a lot of situation, there will be no need for filling unnecessary overloads. And labels will make the code more readable for those.
- the_duke 6y agoVariadic tuples are a pretty big type system feature and will make some typing/library maintainers very happy.