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