fix(ivy): component ref injector should support change detector ref (#27107)
PR Close #27107
This commit is contained in:

committed by
Misko Hevery

parent
3ec7c5081d
commit
ee12e725c0
@ -275,6 +275,8 @@ export class RootViewRef<T> extends ViewRef<T> {
|
||||
detectChanges(): void { detectChangesInRootView(this._view); }
|
||||
|
||||
checkNoChanges(): void { checkNoChangesInRootView(this._view); }
|
||||
|
||||
get context(): T { return null !; }
|
||||
}
|
||||
|
||||
function collectNativeNodes(lView: LViewData, parentTNode: TNode, result: any[]): any[] {
|
||||
@ -289,4 +291,4 @@ function collectNativeNodes(lView: LViewData, parentTNode: TNode, result: any[])
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user