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

--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.

主站蜘蛛池模板: 微山县| 汪清县| 宿迁市| 革吉县| 磴口县| 民乐县| 繁昌县| 天全县| 晋宁县| 甘谷县| 买车| 益阳市| 封丘县| 陆川县| 夏邑县| 洛阳市| 清苑县| 双辽市| 五大连池市| 隆安县| 安顺市| 绵阳市| 侯马市| 临汾市| 镇雄县| 利辛县| 宜宾市| 漠河县| 谢通门县| 河池市| 共和县| 突泉县| 芦山县| 苏尼特左旗| 大化| 萍乡市| 沙田区| 滕州市| 德格县| 浑源县| 大方县|