add missing keywords to JS and TS#1741
Conversation
|
And should |
|
I know, my point is though that from/as are not official keywords, or are they? I'm trying to understand if treating them the same as "import" is correct, given that is reserved. |
https://tc39.es/ecma262/2020/#sec-keywords-and-reserved-words |
Also removed invalid "AS" from TypeScript lexer.
|
For a more general PR, we could add :
|
|
Yes, that sounds good, but I'd rather do it in a separate PR. This here is nice and self-contained. Can you please un-draft it so I can merge it, then file another PR for the other changes? |
fromkeyword was missing (import something from 'something')