Skip to content

Commit e642086

Browse files
committed
fix comment
1 parent 236e24b commit e642086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3796,7 +3796,7 @@ module ts {
37963796
// A nit here is that we reorder only signatures that belong to the same symbol,
37973797
// so order how inherited signatures are processed is still preserved.
37983798
// interface A { (x: string): void }
3799-
// interface B { (x: 'foo'): string }
3799+
// interface B extends A { (x: 'foo'): string }
38003800
// var b: B;
38013801
// b('foo') // <- here overloads should be processed as [(x:'foo'): string, (x: string): void]
38023802
function collectCandidates(node: CallExpression, signatures: Signature[]): Signature[]{

0 commit comments

Comments
 (0)