mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
352c582f98
Previously the ngtsc ShimGenerator interface expected that all shims would be generated using the contents of existing ts.SourceFiles. This assumption was true for ngfactory and ngsummary files, but breaks down for flat module index files, which are standalone. This commit prepares for flat module index generation by enabling shim generators which don't require an existing file. PR Close #27497