- Learn React with TypeScript 3
- Carl Rippon
- 66字
- 2021-06-10 19:16:38
--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.
推薦閱讀
- WildFly:New Features
- DevOps with Kubernetes
- CentOS 7 Linux Server Cookbook(Second Edition)
- 青少年軟件編程基礎與實戰(圖形化編程三級)
- CKA/CKAD應試教程:從Docker到Kubernetes完全攻略
- GameMaker Programming By Example
- PySide 6/PyQt 6快速開發與實戰
- Arduino家居安全系統構建實戰
- 搞定J2EE:Struts+Spring+Hibernate整合詳解與典型案例
- JavaScript動態網頁編程
- Instant Debian:Build a Web Server
- iOS開發項目化入門教程
- JBoss AS 7 Development
- React and React Native
- Visual FoxPro數據庫程序設計