File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8018,7 +8018,7 @@ module ts {
80188018
80198019 function checkNumericLiteral(node: LiteralExpression): Type {
80208020 // Grammar checking
8021- checkGrammarNumbericLiteral (node);
8021+ checkGrammarNumericLiteral (node);
80228022 return numberType;
80238023 }
80248024
@@ -12561,7 +12561,7 @@ module ts {
1256112561 // Grammar checking for computedPropertName and shorthandPropertyAssignment
1256212562 checkGrammarForInvalidQuestionMark(prop,(<PropertyAssignment>prop).questionToken, Diagnostics.An_object_member_cannot_be_declared_optional);
1256312563 if (name.kind === SyntaxKind.NumericLiteral) {
12564- checkGrammarNumbericLiteral (<Identifier>name);
12564+ checkGrammarNumericLiteral (<Identifier>name);
1256512565 }
1256612566 currentKind = Property;
1256712567 }
@@ -13113,7 +13113,7 @@ module ts {
1311313113 }
1311413114 }
1311513115
13116- function checkGrammarNumbericLiteral (node: Identifier): boolean {
13116+ function checkGrammarNumericLiteral (node: Identifier): boolean {
1311713117 // Grammar checking
1311813118 if (node.flags & NodeFlags.OctalLiteral) {
1311913119 if (node.parserContextFlags & ParserContextFlags.StrictMode) {
You can’t perform that action at this time.
0 commit comments