This project was generated with Angular CLI version 1.6.5.
npm i
npm run pack
look into dist/bundles/ctor-inheritance.umd.js
/** @nocollapse */
A.ctorParameters = function () { return [
{ type: core.ChangeDetectorRef, },
{ type: TestModel, },
]; };
/** @nocollapse */
B.ctorParameters = function () { return []; };
results in class B not having providers TestModel
and ChangeDetectorRef
C.ctorParameters = function () { return [
{ type: core.ChangeDetectorRef, },
{ type: TestModel, },
]; };
Class B should have injector dependencies inherited from A without own constructor and super call