We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8db60a commit 731925bCopy full SHA for 731925b
src/compiler/checker.ts
@@ -5040,7 +5040,7 @@ namespace ts {
5040
5041
return false;
5042
}
5043
-
+
5044
function getNumNonRestParameters(signature: Signature) {
5045
const numParams = signature.parameters.length;
5046
return signature.hasRestParameter ?
@@ -5651,7 +5651,7 @@ namespace ts {
5651
shouldElaborateErrors = false;
5652
5653
5654
- // don't elaborate the primitive apparent types (like Number)
+ // don't elaborate the primitive apparent types (like Number)
5655
// because the actual primitives will have already been reported.
5656
if (shouldElaborateErrors && !isPrimitiveApparentType(source)) {
5657
reportError(Diagnostics.Type_0_provides_no_match_for_the_signature_1,
0 commit comments