As node projects evolve, new features are added all the time. This results in different errors or results as you're migrating from one version to another. npx allows you to try out any version you want by simply adding the version number to the project you're using. This lesson covers using the TypeScript compiler through a different versions as async function support was added.

Install:

npm install -g npx

Usage:

npx typescript@1.6 index.ts
npx typescript --target es2017 index.ts // Use the latest version

最新文章

  1. 好用的內存鏡像工具Belkasoft RAM Capture
  2. 为什么需要DTO(数据传输对象)
  3. iOS中几种定时器
  4. UIActivityViewController 自定义选项
  5. STL——迭代器的概念
  6. winform下调用webservice,传参List<string>
  7. Spring-----1、Spring简介和Spring3.0的变化
  8. git 使用过程(三、文件的添加 修改)
  9. VS解决方案创建
  10. SQLSERVER 运维日记-数据库状态
  11. eclipse和myeclipse设置默认编码格式为UTF-8
  12. 仿微信的IM聊天时间显示格式(含iOS/Android/Web实现)[图文+源码]
  13. android项目导入eclipse变成java项目——修改.project文件——亲测有效
  14. System.Collections里的一些接口
  15. BZOJ1208 [HNOI2004]宠物收养所 splay
  16. DEVOPS落地实践分享
  17. Spring Boot 历史
  18. Array.prototype.slice.call(arguments)探究
  19. flask源码解析之session
  20. Radon变换——MATLAB

热门文章

  1. 关于exports 和 module.exports
  2. 图形界面备份Linux系统介绍
  3. javafx drag
  4. HDU 2017 Multi-University Training Contest - Team 4 1009 1011
  5. shell 日期转换
  6. 搭建Disuz论坛社区
  7. 【习题 8-6 UVA - 1611】 Crane
  8. 洛谷 P1827 美国血统 American Heritage
  9. iOS QQ第三方登实现
  10. [Express] Upload Files with Express