
committed by
Alex Rickabaugh

parent
7e51e52f55
commit
4d62be69c5
@ -494,7 +494,8 @@ export function createTView(): TView {
|
||||
contentCheckHooks: null,
|
||||
viewHooks: null,
|
||||
viewCheckHooks: null,
|
||||
destroyHooks: null
|
||||
destroyHooks: null,
|
||||
objectLiterals: null
|
||||
};
|
||||
}
|
||||
|
||||
@ -1754,6 +1755,10 @@ export function getRenderer(): Renderer3 {
|
||||
return renderer;
|
||||
}
|
||||
|
||||
export function getTView(): TView {
|
||||
return currentView.tView;
|
||||
}
|
||||
|
||||
export function getDirectiveInstance<T>(instanceOrArray: T | [T]): T {
|
||||
// Directives with content queries store an array in data[directiveIndex]
|
||||
// with the instance as the first index
|
||||
|
Reference in New Issue
Block a user