1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
=== tests/cases/conformance/declarationEmit/node_modules/ext/index.d.ts ===
export interface A {}
>A : Symbol(A, Decl(index.d.ts, 0, 0))
export function fa(): A;
>fa : Symbol(fa, Decl(index.d.ts, 0, 21))
>A : Symbol(A, Decl(index.d.ts, 0, 0))
=== tests/cases/conformance/declarationEmit/node_modules/ext/other.d.ts ===
export interface A2 {}
>A2 : Symbol(A2, Decl(other.d.ts, 0, 0))
export function fa(): A2;
>fa : Symbol(fa, Decl(other.d.ts, 0, 22))
>A2 : Symbol(A2, Decl(other.d.ts, 0, 0))
=== tests/cases/conformance/declarationEmit/node_modules/ext/ts3.1/index.d.ts ===
export * from "../other";
No type information for this code.
No type information for this code.=== tests/cases/conformance/declarationEmit/main.ts ===
import { fa } from "ext";
>fa : Symbol(fa, Decl(main.ts, 0, 8))
import { fa as fa2 } from "ext/other";
>fa : Symbol(fa, Decl(other.d.ts, 0, 22))
>fa2 : Symbol(fa2, Decl(main.ts, 1, 8))
export const va = fa();
>va : Symbol(va, Decl(main.ts, 3, 12))
>fa : Symbol(fa, Decl(main.ts, 0, 8))
export const va2 = fa2();
>va2 : Symbol(va2, Decl(main.ts, 4, 12))
>fa2 : Symbol(fa2, Decl(main.ts, 1, 8))
|