Skip to content

Commit c247a59

Browse files
committed
Updated TSX syntax
1 parent a8116ba commit c247a59

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

TypeScriptReact.YAML-tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ repository:
464464

465465
expression-operator:
466466
name: keyword.operator.tsx
467-
match: =>|\b(delete|export|import|from|in|instanceof|module|namespace|new|typeof|void|as)\b
467+
match: =>|\b(delete|export|import|from|in|instanceof|new|typeof|void|as)\b
468468

469469
arithmetic-operator:
470470
name: keyword.operator.arithmetic.tsx
@@ -484,7 +484,7 @@ repository:
484484

485485
storage-keyword:
486486
name: storage.type.tsx
487-
match: \b(number|boolean|string|any|var|let|function|const)\b
487+
match: \b(number|boolean|string|any|var|let|function|const|module|namespace)\b
488488

489489
paren-expression:
490490
begin: \(

TypeScriptReact.tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@
369369
<key>expression-operator</key>
370370
<dict>
371371
<key>match</key>
372-
<string>=&gt;|\b(delete|export|import|from|in|instanceof|module|namespace|new|typeof|void|as)\b</string>
372+
<string>=&gt;|\b(delete|export|import|from|in|instanceof|new|typeof|void|as)\b</string>
373373
<key>name</key>
374374
<string>keyword.operator.tsx</string>
375375
</dict>
@@ -1567,7 +1567,7 @@
15671567
<key>storage-keyword</key>
15681568
<dict>
15691569
<key>match</key>
1570-
<string>\b(number|boolean|string|any|var|let|function|const)\b</string>
1570+
<string>\b(number|boolean|string|any|var|let|function|const|module|namespace)\b</string>
15711571
<key>name</key>
15721572
<string>storage.type.tsx</string>
15731573
</dict>

0 commit comments

Comments
 (0)