官术网_书友最值得收藏!

--outDir

By default, the transpiled JavaScript files are created in the same directory as the TypeScript files. --outDir can be used to place these files in a different directory.

Let's give this a try and output the transpiled orderDetail.js to a folder called dist. Let's enter the following in the terminal:

tsc orderDetail --outDir dist

A dist folder will be created containing the generated orderDetail.js file.

主站蜘蛛池模板: 宁化县| 安平县| 金坛市| 大关县| 灵台县| 怀集县| 克拉玛依市| 乐东| 潼关县| 巴楚县| 开阳县| 广饶县| 定结县| 合肥市| 岗巴县| 七台河市| 鹤庆县| 阿拉善左旗| 平安县| 工布江达县| 江都市| 大邑县| 夏河县| 阳泉市| 宁安市| 海盐县| 石渠县| 辛集市| 东丰县| 来安县| 文登市| 新安县| 临朐县| 开鲁县| 上思县| 德庆县| 吉林省| 广饶县| 阿拉善右旗| 房山区| 永平县|