fix(.d.ts): Correct new Type interface return type

Closes #2399
Closes #3316
This commit is contained in:
Misko Hevery 2015-07-27 15:29:06 -07:00 committed by Tobias Bosch
parent 71bb4b3ee5
commit 78fdf9a11f
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ declare module ng {
type SetterFn = typeof Function; type SetterFn = typeof Function;
type int = number; type int = number;
interface Type extends Function { interface Type extends Function {
new (...args); new (...args): any;
} }
// See https://github.com/Microsoft/TypeScript/issues/1168 // See https://github.com/Microsoft/TypeScript/issues/1168

View File

@ -14,7 +14,7 @@ declare module ng {
type SetterFn = typeof Function; type SetterFn = typeof Function;
type int = number; type int = number;
interface Type extends Function { interface Type extends Function {
new (...args: any[]): Type; new (...args: any[]): any;
} }
// See https://github.com/Microsoft/TypeScript/issues/1168 // See https://github.com/Microsoft/TypeScript/issues/1168