- 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.
推薦閱讀
- Docker技術入門與實戰(第3版)
- 垃圾回收的算法與實現
- Mastering Selenium WebDriver
- Magento 2 Development Cookbook
- Wireshark Network Security
- HTML5+CSS3網站設計基礎教程
- Scala Reactive Programming
- Visual Studio 2015高級編程(第6版)
- C# Multithreaded and Parallel Programming
- 持續集成與持續交付實戰:用Jenkins、Travis CI和CircleCI構建和發布大規模高質量軟件
- 玩轉.NET Micro Framework移植:基于STM32F10x處理器
- Appcelerator Titanium:Patterns and Best Practices
- Software Development on the SAP HANA Platform
- Mastering PowerCLI
- AutoCAD基礎教程