Skip to content
shirow ozawa edited this page Sep 27, 2023 · 3 revisions

Welcome to the eaglys-web wiki!

ts-migrate

  1. Add TypeScript
  2. create tsconfig.json
  3. do rename
  4. do migrate
  5. resolve errors

参考:

Add TypeScript

npm install --save typescript @types/node @types/react @types/react-dom @types/jest

create tsconfig.json

npx tsc --init

do rename

npx ts-migrate rename ./

do migrate

npx ts-migrate migrate ./

resolve errors

💪 あとは自力でガンバレ ❗

interface OR type

https://zenn.dev/luvmini511/articles/6c6f69481c2d17

Clone this wiki locally