With the TypeScript 2.0 release candidate, Microsoft’s typed superset of JavaScript mimics a tagged unions type capability featured in languages like Rust and Swift. Through this feature, developers ...
Next TypeScript release, due February 25, will support a limited form of checking against conditional and indexed acces types in return statements. Microsoft has moved TypeScript 5.8 into the beta ...