1.全局安装 typeScript 包 npm install typescript -g (tsc -v 查看ts版本)
2.解决模块的声明文件问题 npm install @types/node --dev-save
3.tsc --init 创建tsconfig.json ,用于配置ts编译参数
typescript 的安装
猜你喜欢
转载自www.cnblogs.com/honkerzh/p/10163123.html
今日推荐
周排行