mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
00961e4d03
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: RyanCavanaugh <[email protected]> Co-authored-by: Jake Bailey <[email protected]>
23 lines
469 B
Plaintext
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))
|
|
|