mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
567 B
Plaintext
21 lines
567 B
Plaintext
//// [tests/cases/compiler/esModuleInteropEnablesSyntheticDefaultImports.ts] ////
|
|
|
|
=== a.ts ===
|
|
import Namespace from "./b";
|
|
>Namespace : Symbol(Namespace, Decl(a.ts, 0, 6))
|
|
|
|
export var x = new Namespace.Foo();
|
|
>x : Symbol(x, Decl(a.ts, 1, 10))
|
|
>Namespace.Foo : Symbol(Namespace.Foo, Decl(b.d.ts, 0, 0))
|
|
>Namespace : Symbol(Namespace, Decl(a.ts, 0, 6))
|
|
>Foo : Symbol(Namespace.Foo, Decl(b.d.ts, 0, 0))
|
|
|
|
=== b.d.ts ===
|
|
export class Foo {
|
|
>Foo : Symbol(Foo, Decl(b.d.ts, 0, 0))
|
|
|
|
member: string;
|
|
>member : Symbol(Foo.member, Decl(b.d.ts, 0, 18))
|
|
}
|
|
|