From 6c99746f0be351396d7237af871d54fcb0b5ecc7 Mon Sep 17 00:00:00 2001 From: PatrickJS Date: Wed, 27 Apr 2016 20:37:10 -0700 Subject: [PATCH] Update tools.ts Closes #8296 --- modules/@angular/platform-browser/src/browser/tools/tools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/@angular/platform-browser/src/browser/tools/tools.ts b/modules/@angular/platform-browser/src/browser/tools/tools.ts index 7a4763faa1..b5ccca5668 100644 --- a/modules/@angular/platform-browser/src/browser/tools/tools.ts +++ b/modules/@angular/platform-browser/src/browser/tools/tools.ts @@ -16,7 +16,7 @@ var context = global; * 1. Try the change detection profiler `ng.profiler.timeChangeDetection()` * then hit Enter. */ -export function enableDebugTools(ref: ComponentRef): void { +export function enableDebugTools(ref: ComponentRef): ComponentRef { context.ng = new AngularTools(ref); return ref; }