|TypeScript 3.5 Adds Smart Select|
|Written by Kay Ewbank|
|Thursday, 06 June 2019|
TypeScript 3.5 has been released with faster type-checking and incremental builds, as well as smart select when expanding text selections in the editor.
The first improvement to the speed of type checking is a fix for the slowing down introduced accidentally in the previous release, 3.4. Under some circumstances this dramatically increased the type-checking time, especially when using the styled-components library. This has now been fixed, and TypeScript 3.5 meaning compile times, code completion and any other editor operations should all be faster.
The incremental compiler option that was added in TypeScript 3.4 has been optimized in this release. The option makes use of a saved set of data in a build info file that can be used to speed up subsequent compilations, and in this release the caching has been optimized resulting in a reduction in rebuilding time of as much as 68% compared to TypeScript 3.4.
The other main improvement is the addition of an API for editors to expand text selections farther and farther outward in a way that is syntactically aware. This Smart Select feature means the editor knows which constructs it should expand out to. The developers say this means and you can expect selection expansion in editors like Visual Studio Code to “just work”.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Thursday, 29 August 2019 )|