Specifically, overloads are recognised as having the same export/ambient flags when merging the two.
8 lines
129 B
TypeScript
8 lines
129 B
TypeScript
declare class C {
|
|
baz(): any;
|
|
foo(n: number): any;
|
|
}
|
|
interface C {
|
|
foo(n: number): any;
|
|
bar(): any;
|
|
}
|