mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
284 B
TypeScript
15 lines
284 B
TypeScript
// @checkJs: true
|
|
// @noEmit: true
|
|
|
|
// https://github.com/microsoft/typescript-go/issues/3691
|
|
|
|
// @filename: main.js
|
|
export class C {
|
|
method() {
|
|
const obj = {};
|
|
obj.foo = 'foo';
|
|
obj.bar = 'bar';
|
|
obj.buzz = Object.values(obj);
|
|
}
|
|
}
|