TypeScript/tests/cases/compiler/ambientClassMergesOverloadsWithInterface.ts
Nathan Shively-Sanders 3a55c849c7 Assert that ambient classes merge with interfaces
Specifically, overloads are recognised as having the same export/ambient
flags when merging the two.
2015-10-12 14:26:45 -07:00

9 lines
129 B
TypeScript

declare class C {
baz(): any;
foo(n: number): any;
}
interface C {
foo(n: number): any;
bar(): any;
}