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]>
15 lines
393 B
Plaintext
15 lines
393 B
Plaintext
//// [tests/cases/compiler/awaitObjectLiteral.ts] ////
|
|
|
|
=== fileA.ts ===
|
|
export {}
|
|
const foo = await { bar: 42 }
|
|
>foo : Symbol(foo, Decl(fileA.ts, 1, 5))
|
|
>bar : Symbol(bar, Decl(fileA.ts, 1, 19))
|
|
|
|
=== fileB.ts ===
|
|
export const baz = await { x: 1, y: "hello" }
|
|
>baz : Symbol(baz, Decl(fileB.ts, 0, 12))
|
|
>x : Symbol(x, Decl(fileB.ts, 0, 26))
|
|
>y : Symbol(y, Decl(fileB.ts, 0, 32))
|
|
|