diff --git a/tests/baselines/reference/thisInClassBodyStaticESNext.js b/tests/baselines/reference/thisInClassBodyStaticESNext.js index 7f061b12a41..915ae5e67d0 100644 --- a/tests/baselines/reference/thisInClassBodyStaticESNext.js +++ b/tests/baselines/reference/thisInClassBodyStaticESNext.js @@ -11,10 +11,13 @@ class Foo { //// [thisInClassBodyStaticESNext.js] // all are allowed with es-compliant class field emit -class Foo { - x = this; - static t = this; - static at = () => this; - static ft = function () { return this; }; - static mt() { return this; } -} +const Foo = /** @class */ (() => { + class Foo { + x = this; + static t = this; + static at = () => this; + static ft = function () { return this; }; + static mt() { return this; } + } + return Foo; +})();