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