Verify an already-migrated Signal Forms file
verify_migrationScan already-migrated Signal Forms code and report compile-valid traps TypeScript misses, including missed signal calls, v21 rule shapes, and leftover Reactive Forms imports. Use after tsc to verify known defects are absent.
Instructions
Reads code you have ALREADY migrated and reports Signal Forms traps that COMPILE and are still wrong — a missed signal call in a position TypeScript does not check, a deprecated-but-valid v21 rule shape, a pre-release API name, an AbstractControl left in a form() model, Reactive Forms imports left behind. Run it after tsc, not instead of it: anything the compiler already reports is deliberately not repeated here. Read-only. It proves the ABSENCE OF KNOWN DEFECTS, never correctness.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to an ALREADY-MIGRATED .ts file, or a directory to scan. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| checksRun | Yes | ||
| infoCount | Yes | ||
| disclaimer | Yes | ||
| errorCount | Yes | ||
| warningCount | Yes | ||
| checksSkipped | Yes | ||
| notMigratedFiles | Yes |