mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
6cec8aa728
Consider a file that imports `FormControl` and then never uses it. In that case, we don't need to add the import for `UntypedFormControl`. By examining constructor calls *first*, we can identify these cases and skip over them. This will reduce the memory footprint of the migration when run in tsunami, hopefully making OOM errors less likely. PR Close #45288