npm install typescript --save; 建立tsconfig.json tsc init; 建立一個HTML與TS檔; 編譯 "tsc "packageName"; HTML引入編譯後的JS檔 ...
確定! 回上一頁