Microsoft has launched TypeScript 3.4, the latest version of its increasingly popular developer language. The new release comes with a headline feature called incremental, which is a flag integration for developers to type-check and make changes to existing projects.
As mentioned, leading the way in TypeScript 3.4 is a new flag called Incremental. Daniel Rosenwasser, program manager for the service says the flag “tells TypeScript to save information about the project graph from the last compilation.”
“The next time TypeScript is invoked with –incremental, it will use that information to detect the least costly way to type-check and emit changes to your project.”
In a blog today, Rosenwasser says developers can add incremental to a TypeScript file for Visual Studio Code editor and dramatically reduce the compile time for follow-on versions.
“For a project the size of Visual Studio Code, TypeScript’s new –incremental flag was able to reduce subsequent build times down to approximately a fifth of the original,” he points out.
Rosenwasser has some good news by saying that may change “in the near future” as it will come to other editors such as NetBeans, Notepad++ and EMACS.