Growth 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 provide it a strive. Microsoft supplies directions for constructing the Go-based TypeScript compiler, in addition to the associated Language Server with help 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 number of stipulations 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. Should 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 assessments, one to verify the code is correctly linted, and extra.
Technically you don’t want to make use of hereby
and may work with Go’s personal instrument, however utilizing hereby
does simplify issues. One essential level, if you happen to haven’t put in hereby
as a worldwide instrument, you should use npm’s npx command to launch and run the duty runner. So, as an alternative of utilizing hereby construct
to run a construct, merely use npx hereby construct
. This provides you an identical output with out the complexity of enhancing paths.