Skip to content

Commit 731925b

Browse files
Fix linter nits.
1 parent d8db60a commit 731925b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/checker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5040,7 +5040,7 @@ namespace ts {
50405040

50415041
return false;
50425042
}
5043-
5043+
50445044
function getNumNonRestParameters(signature: Signature) {
50455045
const numParams = signature.parameters.length;
50465046
return signature.hasRestParameter ?
@@ -5651,7 +5651,7 @@ namespace ts {
56515651
shouldElaborateErrors = false;
56525652
}
56535653
}
5654-
// don't elaborate the primitive apparent types (like Number)
5654+
// don't elaborate the primitive apparent types (like Number)
56555655
// because the actual primitives will have already been reported.
56565656
if (shouldElaborateErrors && !isPrimitiveApparentType(source)) {
56575657
reportError(Diagnostics.Type_0_provides_no_match_for_the_signature_1,

0 commit comments

Comments
 (0)