Files
tsgo/testdata/tests/cases/compiler/declarationEmitInferredObjectLiteralWithThis.ts
2026-06-03 20:23:19 +00:00

14 lines
153 B
TypeScript

// @declaration: true
export class C {
foo() {
return {
self: this,
};
}
prop = {
self: this,
};
}