Files
tsgo/testdata/tests/cases/compiler/awaitObjectLiteral.ts
ce98adbc09 Fix reparseTopLevelAwait diagnostic slicing bug (#3937)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jakebailey <[email protected]>
2026-05-18 05:05:08 +00:00

10 lines
172 B
TypeScript

// @target: esnext
// @module: esnext
// @filename: fileA.ts
export {}
const foo = await { bar: 42 }
// @filename: fileB.ts
export const baz = await { x: 1, y: "hello" }