Update tools.ts

Closes #8296
This commit is contained in:
PatrickJS 2016-04-27 20:37:10 -07:00 committed by Misko Hevery
parent 4086b49046
commit 6c99746f0b
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ var context = <any>global;
* 1. Try the change detection profiler `ng.profiler.timeChangeDetection()`
* then hit Enter.
*/
export function enableDebugTools(ref: ComponentRef<any>): void {
export function enableDebugTools<T>(ref: ComponentRef<T>): ComponentRef<T> {
context.ng = new AngularTools(ref);
return ref;
}