Domanda

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.

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top