@typescript/native-preview
Version:
Preview CLI and JS API for the native TypeScript compiler port
25 lines (15 loc) • 829 B
Markdown
# TypeScript (Native Preview)
This package provides a preview build of [the native port of TypeScript](https://devblogs.microsoft.com/typescript/typescript-native-port/).
Not all features are implemented yet.
This package is intended for testing and experimentation.
It will eventually be replaced by the official TypeScript package.
## Usage
For TypeScript 7.0 RC and later, use `tsc` just like for TypeScript 6.0.
For other builds, use the `tsgo` command just like you would use `tsc`:
```sh
npx tsgo --help
```
## Issues and Feedback
The native port of TypeScript is still in progress.
We expect many gaps, but are seeking experimentation and feedback.
If you have found differences that are not yet known, we encourage you to leave feedback on [the issue tracker](https://github.com/microsoft/typescript-go/issues).