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

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

主站蜘蛛池模板: 乌鲁木齐县| 宜宾县| 宝坻区| 阿拉善右旗| 包头市| 吉木萨尔县| 衢州市| 嘉鱼县| 洪洞县| 建平县| 洪江市| 呼玛县| 新巴尔虎右旗| 马尔康县| 夹江县| 南岸区| 凤台县| 汝城县| 霍林郭勒市| 昌黎县| 巨鹿县| 遵义县| 略阳县| 昌平区| 黄石市| 盐源县| 久治县| 沧州市| 屏东县| 科技| 溧水县| 莱阳市| 邵东县| 武功县| 石河子市| 大兴区| 万盛区| 怀来县| 巴南区| 磐石市| 康乐县|