Do not consider UMD alias symbols as visible within external modules (#18049)

* Do not consider UMD alias symbols as visible within external modules in the symbol writer

* Minimal repro
This commit is contained in:
Wesley Wigham
2017-09-06 22:07:30 -07:00
committed by GitHub
parent 72884b8f27
commit c3e090695e
16 changed files with 103 additions and 13 deletions

View File

@@ -0,0 +1,12 @@
// @declaration: true
// @filename: node_modules/umd.d.ts
export as namespace UMD;
export type Thing = {
a: number;
}
export declare function makeThing(): Thing;
// @filename: index.ts
import { makeThing } from "umd";
export const thing = makeThing();