This project has moved. For the latest updates, please go here.

Any plans for TypeScript support

Sep 23, 2016 at 6:22 PM
I've seen developers trying to get TypeScript source code running natively inside ClearScript, but these efforts seem more like unofficial workarounds. For example, this StackOverflow thread from 2013:

http://stackoverflow.com/questions/19023498/loading-the-typescript-compiler-into-clearscript-wscript-is-undefined-imposs

Are there any plans to officially support TypeScript directly?
Coordinator
Sep 26, 2016 at 3:57 PM
Hello sgammans,

We have no plans to add explicit TypeScript support. Because TypeScript applications are compiled to plain JavaScript, ClearScript should be able to run them, at least via V8ScriptEngine.

As for the TypeScript compiler itself, it too is available in plain JavaScript form, so if you need on-the-fly compilation, you just need to code up a minimal driver. The StackOverflow thread provides a basic sample.

Good luck!