3:安裝typescript npm install typescript. 4: 執行tsc --init 自動生成tsconfig.json文件,修改爲以下配置,可以根據項目需求靈活改動
確定! 回上一頁