fix(.d.ts): Correct new Type interface return type
Closes #2399 Closes #3316
This commit is contained in:
parent
71bb4b3ee5
commit
78fdf9a11f
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue