Tests now correctly include a constructor
This commit is contained in:
Родитель
e964cb10ca
Коммит
c66bbd8cea
|
@ -4,7 +4,7 @@
|
|||
|
||||
declare module "foo" {
|
||||
export class Foo {
|
||||
// constructor(): Foo;
|
||||
constructor();
|
||||
method1(): any;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,9 +4,9 @@ declare module "foo" {
|
|||
export class Foo {
|
||||
>Foo : Symbol(Foo, Decl(foo.d.ts, 1, 22), Decl(foo-ext.d.ts, 0, 22))
|
||||
|
||||
// constructor(): Foo;
|
||||
constructor();
|
||||
method1(): any;
|
||||
>method1 : Symbol(method1, Decl(foo.d.ts, 2, 22))
|
||||
>method1 : Symbol(method1, Decl(foo.d.ts, 3, 22))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ declare module "foo" {
|
|||
export class Foo {
|
||||
>Foo : Foo
|
||||
|
||||
// constructor(): Foo;
|
||||
constructor();
|
||||
method1(): any;
|
||||
>method1 : () => any
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// @filename: foo.d.ts
|
||||
declare module "foo" {
|
||||
export class Foo {
|
||||
// constructor(): Foo;
|
||||
constructor();
|
||||
method1(): any;
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче