Improvement is occurring within the open on GitHub in a separate repository from the JavaScript launch. For now, there isn’t a public binary launch, however that doesn’t cease you from taking the present code base and compiling your individual instruments to offer it a strive. Microsoft gives directions for constructing the Go-based TypeScript compiler, in addition to the associated Language Server with assist for Visible Studio Code.
Construct it your self
Constructing the brand new TypeScript compiler and language server is comparatively simple. You’ll want to put in a couple of conditions earlier than getting began: an up-to-date model of the Go compiler, in addition to the Node.js JavaScript platform and the hereby
job runner. In the event you’ve not used hereby
earlier than, it’s a Node.js-based instrument for chaining duties collectively and is used to orchestrate the TypeScript construct course of. Totally different runners can be found for various outputs: one to construct the compiler, one to construct the exams, one to verify the code is correctly linted, and extra.
Technically you don’t want to make use of hereby
and might work with Go’s personal instrument, however utilizing hereby
does simplify issues. One necessary level, if you happen to haven’t put in hereby
as a world instrument, you need to use npm’s npx command to launch and run the duty runner. So, as a substitute of utilizing hereby construct
to run a construct, merely use npx hereby construct
. This offers you a similar output with out the complexity of modifying paths.