bfd07b3c94
In ES5 modules, the class declarations consist of an IIFE with inner and outer declarations that represent the class. The `EsmReflectionHost` has logic to ensure that `getDeclarationOfIdentifier()` always returns the outer declaration. Before this commit, if an identifier referred to an alias of the inner declaration, then `getDeclarationOfIdentifier()` was failing to find the outer declaration - instead returning the inner declaration. Now the identifier is correctly resolved up to the outer declaration as expected. This should fix some of the failing 3rd party packages discussed in https://github.com/angular/ngcc-validation/issues/57. PR Close #33252 |
||
---|---|---|
.. | ||
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 |