1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
=== tests/cases/compiler/node_modules/umd.d.ts ===
export as namespace UMD;
>UMD : typeof import("tests/cases/compiler/node_modules/umd")
export type Thing = {
>Thing : { a: number; }
a: number;
>a : number
}
export declare function makeThing(): Thing;
>makeThing : () => Thing
=== tests/cases/compiler/index.ts ===
import { makeThing } from "umd";
>makeThing : () => import("tests/cases/compiler/node_modules/umd").Thing
export const thing = makeThing();
>thing : import("tests/cases/compiler/node_modules/umd").Thing
>makeThing() : import("tests/cases/compiler/node_modules/umd").Thing
>makeThing : () => import("tests/cases/compiler/node_modules/umd").Thing
|