mirror of
https://github.com/angular/angular.git
synced 2026-11-25 07:57:49 -05:00
Presumably, the size of the results array was checked so that a TS source file wouldn't have to be created if there were no diagnostics. However, it is very likely that a TS program already has the `ts.SourceFile` for file when diagnostics are queried. This removal is just to make the function a minimal amount simpler. PR Close #32587