TypeScript/tests/baselines/reference/moduleResolutionWithModule(module=nodenext,moduleresolution=nodenext).symbols

14 lines
428 B
Plaintext

=== tests/cases/compiler/node_modules/pkg/entrypoint.d.ts ===
export declare function thing(): void;
>thing : Symbol(thing, Decl(entrypoint.d.ts, 0, 0))
=== tests/cases/compiler/index.ts ===
import * as p from "pkg";
>p : Symbol(p, Decl(index.ts, 0, 6))
p.thing();
>p.thing : Symbol(p.thing, Decl(entrypoint.d.ts, 0, 0))
>p : Symbol(p, Decl(index.ts, 0, 6))
>thing : Symbol(p.thing, Decl(entrypoint.d.ts, 0, 0))