Language focus

AI code review for TypeScript

TypeScript lowers an entire category of correctness bugs before runtime, yet reviews still hinge on generics noise, widening mistakes, branded types skipped at boundaries, and `any` smuggled through hot paths.

GitHub flow

Where CodeCritic concentrates for TypeScript

  • Structural typing surprises at module edges and third-party libraries with loose `.d.ts` files.
  • Conditional types and mapped types that compile but defeat readability for the next maintainer.
  • Runtime validation gaps - types that lie when JSON crosses the wire without a schema check.
  • Migration debt: `strict` flags enabled piecemeal, leaving islands of implicit `any`.

Type coverage is not security coverage - pair automated feedback with tests on the integration seams you care about.