mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-29 16:29:19 -05:00
fix(45987): fix pasring invalid names (#45994)
This commit is contained in:
@@ -1639,7 +1639,7 @@ namespace ts {
|
||||
parseErrorAtCurrentToken(blankDiagnostic);
|
||||
}
|
||||
else {
|
||||
parseErrorAtCurrentToken(nameDiagnostic, tokenToString(token()));
|
||||
parseErrorAtCurrentToken(nameDiagnostic, scanner.getTokenValue());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user