mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
ce98adbc09
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
16 lines
310 B
TypeScript
16 lines
310 B
TypeScript
//// [tests/cases/compiler/awaitObjectLiteral.ts] ////
|
|
|
|
//// [fileA.ts]
|
|
export {}
|
|
const foo = await { bar: 42 }
|
|
|
|
//// [fileB.ts]
|
|
export const baz = await { x: 1, y: "hello" }
|
|
|
|
|
|
//// [fileA.js]
|
|
const foo = await { bar: 42 };
|
|
export {};
|
|
//// [fileB.js]
|
|
export const baz = await { x: 1, y: "hello" };
|