The release of TypeScript 4.0 is the combination of work on this programming language since the release of version 3.0 two years ago. The main improvements include a better experience with editors such as Microsoft Visual Studio Code, improved error messages and improved refactoring capabilities.
One of the new features should prevent slow start-up processes in larger projects. These slow start-up processes are often the result of ‘project loading’ in which many dependencies are solved.
To speed up the startup process, the latest version of TypeScript now provides developers with a partial editing mode at startup. In this mode, code specialists use a light server that only looks at the files the editor is currently viewing. TypeScript 4.0 expands the functionality of the server with functionality for semantic operations instead of only synthetic operations which used to be the case when using this server.
Although this reduces the overall data, the available data using this technique is sufficient to handle basic lines of code when an editor first boots up, according to Microsoft. In this way, the response time is greatly increased, and slow startup processes are a thing of the past.