fix(test_lib): add missing types
This commit is contained in:
@ -137,6 +137,12 @@ export class DebugElement {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a DebugElement for a ElementRef.
|
||||
*
|
||||
* @param {ElementRef}: elementRef
|
||||
* @return {DebugElement}
|
||||
*/
|
||||
export function inspectElement(elementRef: ElementRef): DebugElement {
|
||||
return DebugElement.create(elementRef);
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ export class DebugElementViewListener implements AppViewListener {
|
||||
}
|
||||
}
|
||||
|
||||
export const ELEMENT_PROBE_BINDINGS = CONST_EXPR([
|
||||
export const ELEMENT_PROBE_BINDINGS: any[] = CONST_EXPR([
|
||||
DebugElementViewListener,
|
||||
CONST_EXPR(new Binding(AppViewListener, {toAlias: DebugElementViewListener})),
|
||||
]);
|
||||
|
Reference in New Issue
Block a user