Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is the TypeScript language specification document up to date?

Tags:

typescript

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?

like image 694
Franck PISSOTTE Avatar asked Sep 03 '18 11:09

Franck PISSOTTE


People also ask

How old is the typescript language specification PDF?

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?

What is typescript?

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.

What programming languages are supported by the TypeScript compiler?

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.

What are the changes to typescript in 2019?

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


1 Answers

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).

like image 148
Mikhail Burshteyn Avatar answered Nov 26 '22 14:11

Mikhail Burshteyn