mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
b6f439d91b
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