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 {
8018
8018
8019
8019
function checkNumericLiteral(node: LiteralExpression): Type {
8020
8020
// Grammar checking
8021
- checkGrammarNumbericLiteral (node);
8021
+ checkGrammarNumericLiteral (node);
8022
8022
return numberType;
8023
8023
}
8024
8024
@@ -12561,7 +12561,7 @@ module ts {
12561
12561
// Grammar checking for computedPropertName and shorthandPropertyAssignment
12562
12562
checkGrammarForInvalidQuestionMark(prop,(<PropertyAssignment>prop).questionToken, Diagnostics.An_object_member_cannot_be_declared_optional);
12563
12563
if (name.kind === SyntaxKind.NumericLiteral) {
12564
- checkGrammarNumbericLiteral (<Identifier>name);
12564
+ checkGrammarNumericLiteral (<Identifier>name);
12565
12565
}
12566
12566
currentKind = Property;
12567
12567
}
@@ -13113,7 +13113,7 @@ module ts {
13113
13113
}
13114
13114
}
13115
13115
13116
- function checkGrammarNumbericLiteral (node: Identifier): boolean {
13116
+ function checkGrammarNumericLiteral (node: Identifier): boolean {
13117
13117
// Grammar checking
13118
13118
if (node.flags & NodeFlags.OctalLiteral) {
13119
13119
if (node.parserContextFlags & ParserContextFlags.StrictMode) {
You can’t perform that action at this time.
0 commit comments