On the Github repository for TypeScript, the pdf is 4 years old (TypeScript Language Specification version 1.8 january 2016), but the version of the source code is 3.7.5.
Is this document still valid and the numbers are not in sync, or has there been 4 years without adding new features to TypeScript and only correcting bugs?
On the Github repository for TypeScript, the pdf is 4 years old (TypeScript Language Specification version 1.8 january 2016), but the version of the source code is 3.7.5. Is this document still valid and the numbers are not in sync, or has there been 4 years without adding new features to TypeScript and only correcting bugs?
TypeScript is a programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript and adds optional static typing to the language. TypeScript is designed for the development of large applications and transcompiles to JavaScript.
By default the compiler targets ECMAScript 5, the current prevailing standard, but is also able to generate constructs used in ECMAScript 3 or 2015. With TypeScript, it is possible to use existing JavaScript code, incorporate popular JavaScript libraries, and call TypeScript-generated code from other JavaScript.
As with every TypeScript version, declarations for lib.d.ts(especially the declarations generated for web contexts), have changed. There are various changes, though Intland ResizeObserver’s may end up being the most disruptive. noImplicitAnyErrors Apply to Loose yieldExpressions
The language spec is out of date. As discussed in this github issue, this is not currently a priority for the language maintainers.
You can see the up-to-date documentation here, including the new features in the language (there's been plenty of them since 1.8).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With