typescript 安装编译

1.安装nodejs

2.全局安装npm install -g typescript

3.输出tsc index.ts

4.自动编译  tsc --init

5.tsconfig.json  outDir:'./'

原文地址:https://www.cnblogs.com/yiyangl/p/10951430.html