Today we're announcing previews of the native port of TypeScript! These nightly previews will be available on npm and the VS Code marketplace! npm install -D @typescript/native-preview npx tsgo --version Read up more on our blog!
Post
devblogs.microsoft.comAnnouncing TypeScript Native Previews - TypeScriptPreviews of the native TypeScript port are now available on npm and for VS Code through the Visual Studio Marketplace!
The build we publish is missing debugging information (for size reasons); the easiest thing to do is to clone typescript-go from source, then debug it there. From there, you should be able to add a launch task to run a Go program (the Go extension comes with some templates) to run ./cmd/tsgo.
0 reposts2 likes