TypeScript/tests/cases/compiler/noCrashUMDMergedWithGlobalValue.ts
Wesley Wigham 4c9ad08610
Add fix for webpack history merge bug (#29339)
* Add fix for webpack history merge bug

* Add test case
2019-03-07 13:34:28 -08:00

10 lines
232 B
TypeScript

//@filename: /other.d.ts
export as namespace SomeInterface;
export type Action = "PUSH" | "POP" | "REPLACE";
//@filename: /main.ts
interface SomeInterface {
readonly length: number;
}
declare const value: SomeInterface;