Here are the highlights:
When an instance of a constructor is created via new, the value of new.target is set to be a reference to the constructor function initially used to allocate the instance. If a function is called rather than constructed via new, new.target is set to undefined.
If you haven't tried TypeScript, the ability for it to write some of the code for you by providing suggestions as you type makes it one of the most efficient tools for a developer. However, 2.1 had some missing information that the TypeScript 2.2 was able to quick fix:
- Adding missing imports
- Adding missing properties
- Adding forgotten
- Removing unused declarations
- Implementing abstract members
The plugin for Visual Studio can be downloaded today along with configuration support. Read the full changelog on the open source documentation on GitHub.