File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -487,7 +487,7 @@ repository:
487
487
488
488
expression-operator :
489
489
name : keyword.operator.ts
490
- match : =>|\b(delete|export|import|in|instanceof|module|namespace|new|typeof|void)\b
490
+ match : =>|\b(delete|export|import|in|instanceof|module|namespace|new|typeof|void|as )\b
491
491
492
492
arithmetic-operator :
493
493
name : keyword.operator.arithmetic.ts
Original file line number Diff line number Diff line change 408
408
<key >expression-operator </key >
409
409
<dict >
410
410
<key >match </key >
411
- <string >=> |\b(delete|export|import|in|instanceof|module|namespace|new|typeof|void)\b </string >
411
+ <string >=> |\b(delete|export|import|in|instanceof|module|namespace|new|typeof|void|as )\b </string >
412
412
<key >name </key >
413
413
<string >keyword.operator.ts </string >
414
414
</dict >
Original file line number Diff line number Diff line change 1
1
# Similar to TypeScript.YAML-tmLanguage except:
2
2
# - Remove type assertion (cast.expr.tsx)
3
- # - Add the "as" keyword.
4
3
# - Add JSX expression (HTML-like expression).
5
4
---
6
5
name : TypeScriptReact
@@ -777,4 +776,4 @@ repository:
777
776
patterns :
778
777
- include : ' #jsx-children'
779
778
780
- ...
779
+ ...
You can’t perform that action at this time.
0 commit comments