mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
491 B
Plaintext
21 lines
491 B
Plaintext
//// [tests/cases/conformance/importDefer/importDeferDeclaration.ts] ////
|
|
|
|
=== a.ts ===
|
|
export interface Foo {
|
|
>Foo : Symbol(Foo, Decl(a.ts, 0, 0))
|
|
|
|
x: number;
|
|
>x : Symbol(Foo.x, Decl(a.ts, 0, 22))
|
|
}
|
|
|
|
=== b.ts ===
|
|
import defer * as ns from "./a.js";
|
|
>ns : Symbol(ns, Decl(b.ts, 0, 12))
|
|
|
|
export type X = { foo: ns.Foo };
|
|
>X : Symbol(X, Decl(b.ts, 0, 35))
|
|
>foo : Symbol(foo, Decl(b.ts, 2, 17))
|
|
>ns : Symbol(ns, Decl(b.ts, 0, 12))
|
|
>Foo : Symbol(ns.Foo, Decl(a.ts, 0, 0))
|
|
|