Is there a way to compile a String containing TypeScript to its JavaScript String equivalent ?
For instance, in Coffeescript (and L
You can use TypeScript.Api nodejs package : https://npmjs.org/package/typescript.api
In particular check out this function : https://github.com/sinclairzx81/typescript.api#compile