From 957f67316813592e870ba5c82e0f1e780826fefc Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Mon, 27 Jul 2015 15:59:22 -0700 Subject: [PATCH] Relax a type constraint for angular2 See https://github.com/angular/angular/issues/3299 --- angular2/angular2-2.0.0-alpha.32.d.ts | 2 +- angular2/angular2.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/angular2/angular2-2.0.0-alpha.32.d.ts b/angular2/angular2-2.0.0-alpha.32.d.ts index 596db9287..ff5661650 100644 --- a/angular2/angular2-2.0.0-alpha.32.d.ts +++ b/angular2/angular2-2.0.0-alpha.32.d.ts @@ -23,7 +23,7 @@ declare module ng { type SetterFn = typeof Function; type int = number; interface Type extends Function { - new (...args: any[]): Type; + new (...args: any[]): any; } // See https://github.com/Microsoft/TypeScript/issues/1168 diff --git a/angular2/angular2.d.ts b/angular2/angular2.d.ts index 596db9287..ff5661650 100644 --- a/angular2/angular2.d.ts +++ b/angular2/angular2.d.ts @@ -23,7 +23,7 @@ declare module ng { type SetterFn = typeof Function; type int = number; interface Type extends Function { - new (...args: any[]): Type; + new (...args: any[]): any; } // See https://github.com/Microsoft/TypeScript/issues/1168