mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Recently ng-packagr was updated to include a transform that used to be done in tsickle (https://github.com/ng-packagr/ng-packagr/pull/1401), where only constructor parameter decorators are emitted in tsickle's format, not any of the other decorators. ngcc used to extract decorators from only a single format, so once it saw the `ctorParameters` static property it assumed the library is using the tsickle format. Therefore, none of the `__decorate` calls were considered. This resulted in missing decorator information, preventing proper processing of a package. This commit changes how decorators are extracted by always looking at both the static properties and the `__decorate` calls, merging these sources appropriately. Resolves FW-1573 PR Close #32901 |
||
|---|---|---|
| .. | ||
| 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 | ||