d2e91aeb77e04ec5cb449b5687b4d435f74f4975 (HEAD -> master) [ts-migrate][src] Run TS Migrate 5dbe3669ec05232824dcb42c321d18983e451a54 [ts-migrate][src] Rename files from JS/JSX to TS/TSX bae0dfb6790808310865ceb7f00ab0c0f161013a [ts-migrate][src] Init tsconfig.json file • コミットも段階的にしてくれるので結果を確認しやすい npm run ts-migrate -- init <folder> Initialize tsconfig.json file in <folder> npm run ts-migrate -- rename <folder> *Rename files in folder from JS/JSX to TS/TSX npm run ts-migrate -- migrate <folder> *Fix TypeScript errors, using codemods npm run ts-migrate -- reignore <folder> Re-run ts-ignore on a project
-expect-errorで教えてくれているので、そ こをひたすら修正する <input type="text" ref={refY} defaultValue="" // @ts-expect-error ts-migrate(2322) FIXME: Type 'string' is not assignable to type 'number | ... Remove this comment to see the full error message maxLength="4" className="text_alphanumeric input_year" onBlur={handleInputY} />