fix(46512): allow to use tag names containing keywords with - (#46546)

This commit is contained in:
Oleksandr T
2021-11-03 00:12:10 +02:00
committed by GitHub
parent 33fe1b6ffc
commit b8f8fd7a3e
9 changed files with 216 additions and 0 deletions

View File

@@ -2374,6 +2374,7 @@ namespace ts {
tokenValue = tokenValue.slice(0, -1);
pos--;
}
return getIdentifierToken();
}
return token;
}