How can I pass multiple source files to the TypeScript compiler?

后端 未结 6 1272
忘掉有多难
忘掉有多难 2020-12-14 05:54

TypeScript is designed for large-scale JavaScripty projects which typically consist of multiple internally produced files along with externally produced libraries. How does

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-14 06:28

    With TypeScript 1.5 (beta but the final version should be there soon), you can create a tsconfig.json file to configure the TypeScript compiler and the files to compile (among other things). See my answer over there: How to watch and compile all TypeScript sources?

提交回复
热议问题