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 5e49b57 commit 04d6e91Copy full SHA for 04d6e91
src/compiler/checker.ts
@@ -14529,7 +14529,7 @@ namespace ts {
14529
function areDeclarationFlagsIdentical(left: Declaration, right: Declaration) {
14530
if ((left.kind === SyntaxKind.Parameter && right.kind === SyntaxKind.VariableDeclaration) ||
14531
(left.kind === SyntaxKind.VariableDeclaration && right.kind === SyntaxKind.Parameter)) {
14532
- // Diffrences in optionality between paramters and variables are allowed.
+ // Differences in optionality between parameters and variables are allowed.
14533
return true;
14534
}
14535
0 commit comments