Files
tsgo/testdata/baselines/reference/compiler/exportAssignNamedImport.symbols
00961e4d03 Fix export = named import to emit correct property access (#2560)
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: RyanCavanaugh <[email protected]>
Co-authored-by: Jake Bailey <[email protected]>
2026-01-22 15:29:09 +00:00

23 lines
469 B
Plaintext

//// [tests/cases/compiler/exportAssignNamedImport.ts] ////
=== bar.ts ===
export class Bar {
>Bar : Symbol(Bar, Decl(bar.ts, 0, 0))
name: string = "bar";
>name : Symbol(Bar.name, Decl(bar.ts, 0, 18))
}
export function baz() {
>baz : Symbol(baz, Decl(bar.ts, 2, 1))
return "baz";
}
=== reexport.ts ===
import { Bar } from './bar';
>Bar : Symbol(Bar, Decl(reexport.ts, 0, 8))
export = Bar;
>Bar : Symbol(Bar, Decl(reexport.ts, 0, 8))