fix(test_lib): add missing types

This commit is contained in:
Igor Minar
2015-09-03 14:45:25 -07:00
parent f6108c54ec
commit 34deda594f
6 changed files with 22 additions and 15 deletions

View File

@ -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);
}

View File

@ -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})),
]);