返回顶部

摘要: 1. 全局安装node typescript npm install -g typescript 2. 在项目目录下运行下面命令,创建tsconfig.json文件 tsc --init TS会按照tsconfig.json中的配置,编译为JS文件。修改tsconfig.json中的配置项: { " 阅读全文
posted @ 2022-01-11 11:16 雨山木风 阅读(756) 评论(0) 推荐(0) 编辑