mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
In ESM5 code, static methods appear as property assignments onto the constructor
function. For example:
```
var MyClass = (function() {
function MyClass () {}
MyClass.staticMethod = function() {};
return MyClass;
})();
```
This commit teaches ngcc how to process these forms when searching
for `ModuleWithProviders` functions that need to be updated in the typings
files.
PR Close #29092
|
||
|---|---|---|
| .. | ||
| analysis | ||
| helpers | ||
| host | ||
| integration | ||
| packages | ||
| rendering | ||
| BUILD.bazel | ||