- 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.
推薦閱讀
- AngularJS Testing Cookbook
- Java應(yīng)用與實(shí)戰(zhàn)
- Designing Hyper-V Solutions
- Mastering Unity Shaders and Effects
- Cassandra Data Modeling and Analysis
- Kotlin編程實(shí)戰(zhàn):創(chuàng)建優(yōu)雅、富于表現(xiàn)力和高性能的JVM與Android應(yīng)用程序
- Test-Driven Machine Learning
- Visual Basic程序設(shè)計(jì)習(xí)題與上機(jī)實(shí)踐
- Access 2010數(shù)據(jù)庫(kù)應(yīng)用技術(shù)實(shí)驗(yàn)指導(dǎo)與習(xí)題選解(第2版)
- 寫(xiě)給程序員的Python教程
- 零代碼實(shí)戰(zhàn):企業(yè)級(jí)應(yīng)用搭建與案例詳解
- Django Design Patterns and Best Practices
- Application Development with Swift
- Learning Unreal Engine Game Development
- Qt 5.12實(shí)戰(zhàn)