Skip to content

Commit

Permalink
correct error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mesteery committed Dec 30, 2020
1 parent b141da0 commit f28c752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygments/lexers/javascript.py
Expand Up @@ -491,7 +491,7 @@ class TypeScriptLexer(RegexLexer):
(r'(for|in|while|do|break|return|continue|switch|case|default|if|else|'
r'throw|try|catch|finally|new|delete|typeof|instanceof|void|of|'
r'this|async|await|yield|extends|implements|private|protected|public|'
r'abstract|static|super|import|export')\b', Keyword, 'slashstartsregex'),
r'abstract|static|super|import|export)\b', Keyword, 'slashstartsregex'),
(r'(var|let|const|with|function|class|interface|type|enum)\b', Keyword.Declaration, 'slashstartsregex'),
(r'(boolean|byte|char|double|final|float|goto|int|long|'
r'native|package|short|synchronized|throws|transient|volatile)\b', Keyword.Reserved),
Expand Down

0 comments on commit f28c752

Please sign in to comment.