We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 236e24b commit e642086Copy full SHA for e642086
src/compiler/checker.ts
@@ -3796,7 +3796,7 @@ module ts {
3796
// A nit here is that we reorder only signatures that belong to the same symbol,
3797
// so order how inherited signatures are processed is still preserved.
3798
// interface A { (x: string): void }
3799
- // interface B { (x: 'foo'): string }
+ // interface B extends A { (x: 'foo'): string }
3800
// var b: B;
3801
// b('foo') // <- here overloads should be processed as [(x:'foo'): string, (x: string): void]
3802
function collectCandidates(node: CallExpression, signatures: Signature[]): Signature[]{
0 commit comments