fix(ngcc): detect synthesized delegate constructors for downleveled ES2015 classes (#38463)
Similarly to the change we landed in the `@angular/core` reflection capabilities, we need to make sure that ngcc can detect pass-through delegate constructors for classes using downleveled ES2015 output. More details can be found in the preceding commit, and in the issue outlining the problem: #38453. Fixes #38453. PR Close #38463
This commit is contained in:

committed by
Andrew Scott

parent
ca07da4563
commit
3b9c802dee
@ -29,7 +29,7 @@ import {GetterFn, MethodFn, SetterFn} from './types';
|
||||
* it intends to capture the pattern where existing constructors have been downleveled from
|
||||
* ES2015 to ES5 using TypeScript w/ downlevel iteration. e.g.
|
||||
*
|
||||
* * ```
|
||||
* ```
|
||||
* function MyClass() {
|
||||
* var _this = _super.apply(this, arguments) || this;
|
||||
* ```
|
||||
|
Reference in New Issue
Block a user