Node ts需要安装的插件

//初始化环境
npm init --yes

//安装npm install -g typescript 到全局

--------------

// cnpm install @types/node -g

/ /npm install @types/express -D

"scripts": {
"start-server": "tsc && node build/app.js",
"start": "nodemon -e ts -w ./ -x start-server"
},

猜你喜欢

转载自www.cnblogs.com/kjtt/p/10910666.html