feat(ivy): implement the getters of ViewContainerRef (#25174)
BREAKING CHANGE: ViewContainerRef.parentInjector is deprecated without replacement PR Close #25174
This commit is contained in:
@ -138,6 +138,7 @@ class ViewContainerRef_ implements ViewContainerData {
|
||||
|
||||
get injector(): Injector { return new Injector_(this._view, this._elDef); }
|
||||
|
||||
/** @deprecated No replacement */
|
||||
get parentInjector(): Injector {
|
||||
let view = this._view;
|
||||
let elDef = this._elDef.parent;
|
||||
|
Reference in New Issue
Block a user