TypeScript Profile
Load when the diff touches TypeScript source, declarations, compiler config, package metadata, or generated types.
Checks
TS-001Unsafe boundary typing (HIGH):any, assertions, or unchecked generics hide invalid external data.TS-002Unhandled async failure (HIGH): missingawait,.catch,return, or error propagation drops failures.TS-003Async ordering bug (HIGH): concurrent operations can overwrite newer state or observe stale data.TS-004Module/tool drift (MEDIUM):tsconfig, package metadata, generated types, or lockfiles change inconsistently.TS-005Lifecycle leak (MEDIUM): timers, listeners, subscriptions, or caches outlive their owner.
Evidence Expectations
- Show the invalid input, async timeline, or ownership path.
- Name the narrow TypeScript command that proves the finding.