mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
9d3cd9bc83
Closure compiler optimizations in g3 require `.then` to be present for a dynamic import (or an import should be `await`ed) to detect the set of imported symbols. Currently, the `.then` is located at a later stage in the file, which confuses static code analysis. This change adds the `.then((m) => m)` workaround to satisfy Closure compiler constraints. PR Close #55686