* There should be no crash when attempting to merge an import with a local declaration * Show symbol has actually merged within the module
25 lines
347 B
TypeScript
25 lines
347 B
TypeScript
// @filename: b.ts
|
|
export const zzz = 123;
|
|
|
|
// @filename: a.ts
|
|
import * as B from "./b";
|
|
|
|
interface B {
|
|
x: string;
|
|
}
|
|
|
|
const x: B = { x: "" };
|
|
B.zzz;
|
|
|
|
export { B };
|
|
|
|
// @filename: index.ts
|
|
import { B } from "./a";
|
|
|
|
const x: B = { x: "" };
|
|
B.zzz;
|
|
|
|
import * as OriginalB from "./b";
|
|
OriginalB.zzz;
|
|
|
|
const y: OriginalB = x; |