Using Guard Conditions To Short-Circuit Object-Spread Operations In TypeScript 3.2.4

added by JavaScript Kicks
3/29/2019 11:50:24 AM

279 Views

Ben Nadel demonstrates that guard conditions can be used to short-circuit the execution of Object-Spread operations in TypeScript 3.2.4. This can facilitate some rather elegant aggregation expressions.


0 comments