Microsoft rolls out TypeScript Native Previews

Microsoft refers to this TypeScript as Project Corsa. Since initially announcing the native version of TypeScript in March, Microsoft has made improvements such as fuller type checking, type-checking support for JSX, and type-checking support for JavaScript files. API design remains in the early stages. Plans for later this year call for having a more complete version of the compiler with major features such as --build and language service features for editors.

Developers can access the native TypeScript compiler over NPM via the command npm install -D @typescript/native-preview.

The package includes an executable called tsgo, which runs similarly to tsc, the existing executable made available by the typescript package. The intent is to eventually rename tsgo to tsc and move it to the typescript package. Additionally, for editing, developers can install the TypeScript (Native Preview) extension in VS Code via the VS Code Extension Marketplace. Still in early stages of development, the extension defers to the built-in TypeScript extension in VS Code, Microsoft said. For that reason, the extension will need to be enabled even after installation. This can be done by opening VS Code’s command palette and running the command TypeScript Native Preview: Enable (Experimental).

Donner Music, make your music with gear
Multi-Function Air Blower: Blowing, suction, extraction, and even inflation

Leave a reply

Please enter your comment!
Please enter your name here