typescript 安装编译

1.安装nodejs

2.全局安装npm install -g typescript

3.输出tsc index.ts

4.自动编译  tsc --init

5.tsconfig.json  outDir:'./'

posted @ 2019-05-30 18:57  小猪章鱼  阅读(187)  评论(0编辑  收藏  举报