Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top