File tree Expand file tree Collapse file tree 2 files changed +50
-18
lines changed Expand file tree Collapse file tree 2 files changed +50
-18
lines changed Original file line number Diff line number Diff line change 3852
3852
</dict >
3853
3853
<dict >
3854
3854
<key >match </key >
3855
- <string >(?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(?:(\ bdefault)|(\*)|(\b[_$[:alpha:]][_$[:alnum:]]*))\s+(as)\s+(?:(default(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)))|([_$[:alpha:]][_$[:alnum:]]*)) </string >
3855
+ <string >(?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(?:(?:(\btype)\s+)?(?:(\ bdefault)|(\*)|(\b[_$[:alpha:]][_$[:alnum:]]*) ))\s+(as)\s+(?:(default(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)))|([_$[:alpha:]][_$[:alnum:]]*)) </string >
3856
3856
<key >captures </key >
3857
3857
<dict >
3858
3858
<key >1 </key >
3859
3859
<dict >
3860
3860
<key >name </key >
3861
- <string >keyword.control.default .ts </string >
3861
+ <string >keyword.control.type .ts </string >
3862
3862
</dict >
3863
3863
<key >2 </key >
3864
3864
<dict >
3865
3865
<key >name </key >
3866
- <string >constant.language.import-export-all .ts </string >
3866
+ <string >keyword.control.default .ts </string >
3867
3867
</dict >
3868
3868
<key >3 </key >
3869
3869
<dict >
3870
3870
<key >name </key >
3871
- <string >variable.other.readwrite .ts </string >
3871
+ <string >constant.language.import-export-all .ts </string >
3872
3872
</dict >
3873
3873
<key >4 </key >
3874
3874
<dict >
3875
3875
<key >name </key >
3876
- <string >keyword.control.as .ts </string >
3876
+ <string >variable.other.readwrite .ts </string >
3877
3877
</dict >
3878
3878
<key >5 </key >
3879
3879
<dict >
3880
3880
<key >name </key >
3881
- <string >keyword.control.default .ts </string >
3881
+ <string >keyword.control.as .ts </string >
3882
3882
</dict >
3883
3883
<key >6 </key >
3884
+ <dict >
3885
+ <key >name </key >
3886
+ <string >keyword.control.default.ts </string >
3887
+ </dict >
3888
+ <key >7 </key >
3884
3889
<dict >
3885
3890
<key >name </key >
3886
3891
<string >variable.other.readwrite.alias.ts </string >
3904
3909
<string >\b(default)\b </string >
3905
3910
</dict >
3906
3911
<dict >
3907
- <key >name </key >
3908
- <string >variable.other.readwrite.alias.ts </string >
3909
3912
<key >match </key >
3910
- <string >([_$[:alpha:]][_$[:alnum:]]*) </string >
3913
+ <string >(?:(\btype)\s+)?([_$[:alpha:]][_$[:alnum:]]*) </string >
3914
+ <key >captures </key >
3915
+ <dict >
3916
+ <key >1 </key >
3917
+ <dict >
3918
+ <key >name </key >
3919
+ <string >keyword.control.type.ts </string >
3920
+ </dict >
3921
+ <key >2 </key >
3922
+ <dict >
3923
+ <key >name </key >
3924
+ <string >variable.other.readwrite.alias.ts </string >
3925
+ </dict >
3926
+ </dict >
3911
3927
</dict >
3912
3928
</array >
3913
3929
</dict >
Original file line number Diff line number Diff line change 3874
3874
</dict >
3875
3875
<dict >
3876
3876
<key >match </key >
3877
- <string >(?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(?:(\ bdefault)|(\*)|(\b[_$[:alpha:]][_$[:alnum:]]*))\s+(as)\s+(?:(default(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)))|([_$[:alpha:]][_$[:alnum:]]*)) </string >
3877
+ <string >(?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(?:(?:(\btype)\s+)?(?:(\ bdefault)|(\*)|(\b[_$[:alpha:]][_$[:alnum:]]*) ))\s+(as)\s+(?:(default(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)))|([_$[:alpha:]][_$[:alnum:]]*)) </string >
3878
3878
<key >captures </key >
3879
3879
<dict >
3880
3880
<key >1 </key >
3881
3881
<dict >
3882
3882
<key >name </key >
3883
- <string >keyword.control.default .tsx </string >
3883
+ <string >keyword.control.type .tsx </string >
3884
3884
</dict >
3885
3885
<key >2 </key >
3886
3886
<dict >
3887
3887
<key >name </key >
3888
- <string >constant.language.import-export-all .tsx </string >
3888
+ <string >keyword.control.default .tsx </string >
3889
3889
</dict >
3890
3890
<key >3 </key >
3891
3891
<dict >
3892
3892
<key >name </key >
3893
- <string >variable.other.readwrite .tsx </string >
3893
+ <string >constant.language.import-export-all .tsx </string >
3894
3894
</dict >
3895
3895
<key >4 </key >
3896
3896
<dict >
3897
3897
<key >name </key >
3898
- <string >keyword.control.as .tsx </string >
3898
+ <string >variable.other.readwrite .tsx </string >
3899
3899
</dict >
3900
3900
<key >5 </key >
3901
3901
<dict >
3902
3902
<key >name </key >
3903
- <string >keyword.control.default .tsx </string >
3903
+ <string >keyword.control.as .tsx </string >
3904
3904
</dict >
3905
3905
<key >6 </key >
3906
+ <dict >
3907
+ <key >name </key >
3908
+ <string >keyword.control.default.tsx </string >
3909
+ </dict >
3910
+ <key >7 </key >
3906
3911
<dict >
3907
3912
<key >name </key >
3908
3913
<string >variable.other.readwrite.alias.tsx </string >
3926
3931
<string >\b(default)\b </string >
3927
3932
</dict >
3928
3933
<dict >
3929
- <key >name </key >
3930
- <string >variable.other.readwrite.alias.tsx </string >
3931
3934
<key >match </key >
3932
- <string >([_$[:alpha:]][_$[:alnum:]]*) </string >
3935
+ <string >(?:(\btype)\s+)?([_$[:alpha:]][_$[:alnum:]]*) </string >
3936
+ <key >captures </key >
3937
+ <dict >
3938
+ <key >1 </key >
3939
+ <dict >
3940
+ <key >name </key >
3941
+ <string >keyword.control.type.tsx </string >
3942
+ </dict >
3943
+ <key >2 </key >
3944
+ <dict >
3945
+ <key >name </key >
3946
+ <string >variable.other.readwrite.alias.tsx </string >
3947
+ </dict >
3948
+ </dict >
3933
3949
</dict >
3934
3950
</array >
3935
3951
</dict >
You can’t perform that action at this time.
0 commit comments