Relax a type constraint for angular2

See https://github.com/angular/angular/issues/3299
This commit is contained in:
Alex Eagle
2015-07-27 15:59:42 -07:00
parent db3a54c801
commit 957f673168
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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