编译.ts而不使用<reference ...> </reference ...>

时间:2014-03-27 01:05:55

标签: visual-studio-2013 typescript command-line-interface tsc

Visual Studio可以在没有任何<reference>标记的情况下编译TypeScript项目(甚至保存一个文件)。

我可以从命令行(tsc.exe)以某种方式编译所有* .ts文件吗? 很简单,用于在WebStorm或其他IDE中编辑TypeScript。

1 个答案:

答案 0 :(得分:1)

没有。 tsc.exe / tsc不接受文件全局。您可以使用外部工具通过例如文件传递文件https://github.com/grunt-ts/grunt-ts

相关问题