mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Relax a type constraint for angular2
See https://github.com/angular/angular/issues/3299
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user