npm i typescript ts-loader @types/react-dom @types/react @babel/preset-typescript -D. npx tsc --init. update ts config.
確定! 回上一頁