name: fix-types description: After each edit of typescript files, run this to catch type errors immediately.
Fix TypeScript Errors
- Run
npx tsc --noEmitto get all current errors - Group errors by file
- Fix each file, re-running tsc after each fix
- Do NOT consider done until
npx tsc --noEmitreturns 0 errors - If a fix causes new errors in other files, fix those too