We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ac3d4 commit c95c000Copy full SHA for c95c000
src/compiler/scanner.ts
@@ -1512,9 +1512,9 @@ namespace ts {
1512
}
1513
1514
function getIdentifierToken(): SyntaxKind.Identifier | KeywordSyntaxKind {
1515
- // Reserved words are between 2 and 11 characters long and start with a lowercase letter
+ // Reserved words are between 2 and 12 characters long and start with a lowercase letter
1516
const len = tokenValue.length;
1517
- if (len >= 2 && len <= 11) {
+ if (len >= 2 && len <= 12) {
1518
const ch = tokenValue.charCodeAt(0);
1519
if (ch >= CharacterCodes.a && ch <= CharacterCodes.z) {
1520
const keyword = textToKeyword.get(tokenValue);
0 commit comments