Skip to content

Commit c66bbd8

Browse files
committed
Tests now correctly include a constructor
1 parent e964cb1 commit c66bbd8

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/baselines/reference/moduleMergeConstructor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
declare module "foo" {
66
export class Foo {
7-
// constructor(): Foo;
7+
constructor();
88
method1(): any;
99
}
1010
}

tests/baselines/reference/moduleMergeConstructor.symbols

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ declare module "foo" {
44
export class Foo {
55
>Foo : Symbol(Foo, Decl(foo.d.ts, 1, 22), Decl(foo-ext.d.ts, 0, 22))
66

7-
// constructor(): Foo;
7+
constructor();
88
method1(): any;
9-
>method1 : Symbol(method1, Decl(foo.d.ts, 2, 22))
9+
>method1 : Symbol(method1, Decl(foo.d.ts, 3, 22))
1010
}
1111
}
1212

tests/baselines/reference/moduleMergeConstructor.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ declare module "foo" {
44
export class Foo {
55
>Foo : Foo
66

7-
// constructor(): Foo;
7+
constructor();
88
method1(): any;
99
>method1 : () => any
1010
}

tests/cases/compiler/moduleMergeConstructor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @filename: foo.d.ts
44
declare module "foo" {
55
export class Foo {
6-
// constructor(): Foo;
6+
constructor();
77
method1(): any;
88
}
99
}

0 commit comments

Comments
 (0)