Visual Studio can compile TypeScript project (even one file on save) without any <reference> tags.

Can I compile all *.ts files some way from command line (tsc.exe)? Simple, for edit TypeScript in WebStorm or in other IDEs.

有帮助吗?

解决方案

no. tsc.exe / tsc does not accept file globs. You can use an external tool to pass file globs through e.g. https://github.com/grunt-ts/grunt-ts

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top