Skip to content

Commit 3d63401

Browse files
authored
Update baseline (#37049)
1 parent af901ba commit 3d63401

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

tests/baselines/reference/thisInClassBodyStaticESNext.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ class Foo {
1111

1212
//// [thisInClassBodyStaticESNext.js]
1313
// all are allowed with es-compliant class field emit
14-
class Foo {
15-
x = this;
16-
static t = this;
17-
static at = () => this;
18-
static ft = function () { return this; };
19-
static mt() { return this; }
20-
}
14+
const Foo = /** @class */ (() => {
15+
class Foo {
16+
x = this;
17+
static t = this;
18+
static at = () => this;
19+
static ft = function () { return this; };
20+
static mt() { return this; }
21+
}
22+
return Foo;
23+
})();

0 commit comments

Comments
 (0)