fde89156fa
In ES5 and ES2015, class identifiers may have aliases. Previously, the `NgccReflectionHost`s recognized the following formats: - ES5: ```js var MyClass = (function () { function InnerClass() {} InnerClass_1 = InnerClass; ... }()); ``` - ES2015: ```js let MyClass = MyClass_1 = class MyClass { ... }; ``` In addition to the above, this commit adds support for recognizing an alias outside the IIFE in ES5 classes (which was previously not supported): ```js var MyClass = MyClass_1 = (function () { ... }()); ``` Jira issue: [FW-1869](https://angular-team.atlassian.net/browse/FW-1869) Partially addresses #35399. PR Close #35527 |
||
---|---|---|
.. | ||
commonjs_host_import_helper_spec.ts | ||
commonjs_host_spec.ts | ||
esm5_host_import_helper_spec.ts | ||
esm5_host_spec.ts | ||
esm2015_host_import_helper_spec.ts | ||
esm2015_host_spec.ts | ||
umd_host_import_helper_spec.ts | ||
umd_host_spec.ts | ||
util.ts |