mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00: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:
1 parent
72884b8f27
commit
c3e090695e
16 files changed
+103
-13
No files matched your search
@@ -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