mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 21:36:50 -05:00
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:
@@ -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();
|
||||
Reference in New Issue
Block a user