资讯

TypeScript 2.8 has been released with several major features and bug fixes. The most significant addition is conditional types, a new construct that allows engineers to choose types based on other typ ...
Dependent types are an interesting feature in TypeScript: Not only do they show what is happening in a program. They also prepare the code for things to come.
Less than two weeks after publishing the TypeScript 2.8 Release Candidate, Microsoft has officially launched it into general availability, bringing conditional types and more.
Next TypeScript release, due February 25, will support a limited form of checking against conditional and indexed acces types in return statements.
Microsoft shipped TypeScript 5.8 with improved type checking in some scenarios, but thorny problems caused the dev team to delay related work to the next release.
TypeScript language The TypeScript language accepts JavaScript as valid, but offers the additional options of type annotations, type checking at compile time, classes, and modules.