Files
tsgo/testdata/tests/cases/compiler/exportAssignNamedImport.ts
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

15 lines
223 B
TypeScript

// @module: commonjs
// @target: es2020
// @filename: bar.ts
export class Bar {
name: string = "bar";
}
export function baz() {
return "baz";
}
// @filename: reexport.ts
import { Bar } from './bar';
export = Bar;