mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Previously, UMD/CommonJS class inline declarations of the form:
```ts
exports.Foo = (function() { function Foo(); return Foo; })();
```
were capturing the whole IIFE as the implementation, rather than
the inner class (i.e. `function Foo() {}` in this case). This caused
the interpreter to break when it was trying to access such an export,
since it would try to evaluate the IIFE rather than treating it as a class
declaration.
PR Close #39346
|
||
|---|---|---|
| .. | ||
| ngcc_spec.ts | ||
| util.ts | ||