feat(ivy): expose window.ng.getDebugNode helper (#32727)

PR Close #32727
This commit is contained in:
Matias Niemelä
2019-09-17 11:19:12 -07:00
committed by Andrew Kushnir
parent 252966bcca
commit 4726ac2481
6 changed files with 83 additions and 21 deletions

View File

@ -2,6 +2,8 @@ export declare function getComponent<T = {}>(element: Element): T | null;
export declare function getContext<T = {}>(element: Element): T | null;
export declare function getDebugNode(element: Node): DebugNode | null;
export declare function getDirectives(target: {}): Array<{}>;
export declare function getHostElement<T>(directive: T): Element;