We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f13222 commit d1fa006Copy full SHA for d1fa006
1 file changed
src/services/utilities.ts
@@ -1351,11 +1351,11 @@ namespace ts {
1351
return position;
1352
1353
function AdvancePastLineBreak() {
1354
- if (text.charCodeAt(position) === 0xD) {
+ if (text.charCodeAt(position) === CharacterCodes.carriageReturn) {
1355
position++;
1356
}
1357
1358
- if (text.charCodeAt(position) === 0xA) {
+ if (text.charCodeAt(position) === CharacterCodes.lineFeed) {
1359
1360
1361
0 commit comments