summaryrefslogtreecommitdiff
path: root/pygments/lexers/javascript.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/javascript.py')
-rw-r--r--pygments/lexers/javascript.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pygments/lexers/javascript.py b/pygments/lexers/javascript.py
index df2a4e41..cac817d8 100644
--- a/pygments/lexers/javascript.py
+++ b/pygments/lexers/javascript.py
@@ -529,8 +529,7 @@ class TypeScriptLexer(RegexLexer):
# there should be reflected here as well.
'interp': [
(r'`', String.Backtick, '#pop'),
- (r'\\\\', String.Backtick),
- (r'\\`', String.Backtick),
+ (r'\\.', String.Backtick),
(r'\$\{', String.Interpol, 'interp-inside'),
(r'\$', String.Backtick),
(r'[^`\\$]+', String.Backtick),