Files
tsgo/testdata/baselines/reference/compiler/declarationEmitInferredObjectLiteralWithThis.js
2026-06-03 20:23:19 +00:00

28 lines
469 B
TypeScript

//// [tests/cases/compiler/declarationEmitInferredObjectLiteralWithThis.ts] ////
//// [declarationEmitInferredObjectLiteralWithThis.ts]
export class C {
foo() {
return {
self: this,
};
}
prop = {
self: this,
};
}
//// [declarationEmitInferredObjectLiteralWithThis.js]
export class C {
foo() {
return {
self: this,
};
}
prop = {
self: this,
};
}