1、安裝typings。
npm?install?typings?--global
2、項目下初始化typings。
typings?init
(推薦學習:java視頻教程)
{ ?//?See?https://go.microsoft.com/fwlink/?LinkId=759670 ?//?for?the?documentation?about?the?jsconfig.json?format ?"compilerOptions":?{ ?"target":?"es5", ?"module":?"commonjs", ?"allowSyntheticDefaultImports":?true ?}, ?"exclude":?[ ?"node_modules", ?"bower_components", ?"jspm_packages", ?"tmp", ?"temp" ?] }
4、安裝想要的提示。
typings?install?dt~node?--global?--save typings?install?express?--ambient?--save
相關教程推薦:java視頻教程
? 版權聲明
文章版權歸作者所有,未經允許請勿轉載。
THE END
喜歡就支持一下吧
相關推薦