Tuesday, October 9, 2012

How to run TypeScript from the command line


With node js.

node "C:\J\EcmaScript_NET_ShellUnitTests\TypeScript\bin\tsc.js"  "C:\JS1.ts"

With the old Microsoft JScript.

cscript.exe //E:jscript "C:\J\EcmaScript_NET_ShellUnitTests\TypeScript\bin\tsc.js"  "C:\JS1.ts"











No comments:

Post a Comment