-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed as not planned
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Milestone
Description
a.d.ts
export = ns;
export as namespace ns;
declare namespace ns {
export var x: number;
export interface IFoo { }
}
b.d.ts
declare namespace ns.something {
export var p: ns.IFoo;
}
tsc a.d.ts b.d.ts
Expected: No error
Actual: Error that ns
has no member IFoo
(because the ns
UMD global gets shadowed rather than merged)
Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug