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
|
=== tests/cases/conformance/moduleResolution/main.ts ===
import { a } from "ext";
>a : Symbol(a, Decl(main.ts, 0, 8))
import { b } from "ext/other";
>b : Symbol(b, Decl(main.ts, 1, 8))
const aa: "ts3.1 a" = a;
>aa : Symbol(aa, Decl(main.ts, 3, 5))
>a : Symbol(a, Decl(main.ts, 0, 8))
const bb: "ts3.1 b" = b;
>bb : Symbol(bb, Decl(main.ts, 4, 5))
>b : Symbol(b, Decl(main.ts, 1, 8))
=== tests/cases/conformance/moduleResolution/node_modules/ext/ts3.1/index.d.ts ===
declare module "ext" {
>"ext" : Symbol("ext", Decl(index.d.ts, 0, 0))
export const a = "ts3.1 a";
>a : Symbol(a, Decl(index.d.ts, 1, 16))
}
declare module "ext/other" {
>"ext/other" : Symbol("ext/other", Decl(index.d.ts, 2, 1))
export const b = "ts3.1 b";
>b : Symbol(b, Decl(index.d.ts, 4, 16))
}
|