mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update baseline (#37049)
This commit is contained in:
@@ -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;
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user