File tree Expand file tree Collapse file tree 5 files changed +33
-6
lines changed Expand file tree Collapse file tree 5 files changed +33
-6
lines changed Original file line number Diff line number Diff line change @@ -1372,7 +1372,7 @@ repository:
13721372 begin : ' {{startOfIdentifier}}(as)\s+'
13731373 beginCaptures :
13741374 ' 1 ' : { name: keyword.control.as.ts }
1375- end : (?=$|^|[,}]|({{startOfIdentifier}}(as)\s+))
1375+ end : (?=$|^|[,}]|\|\||\&\&| ({{startOfIdentifier}}(as)\s+))
13761376 patterns :
13771377 - include : ' #type'
13781378 - name : meta.object.member.ts
@@ -1618,7 +1618,7 @@ repository:
16181618 - begin : ' {{startOfIdentifier}}(as)\s+'
16191619 beginCaptures :
16201620 ' 1 ' : { name: keyword.control.as.ts }
1621- end : (?=$|^|[;,:})\]]|({{startOfIdentifier}}(as)\s+)|(\s+\<))
1621+ end : (?=$|^|[;,:})\]]|\|\||\&\&| ({{startOfIdentifier}}(as)\s+)|(\s+\<))
16221622 patterns :
16231623 - include : ' #type'
16241624 - name : keyword.operator.spread.ts
Original file line number Diff line number Diff line change 44464446 </dict >
44474447 </dict >
44484448 <key >end </key >
4449- <string >(?=$|^|[,}]|((?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(as)\s+)) </string >
4449+ <string >(?=$|^|[,}]|\|\||\ & \ & | ((?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(as)\s+)) </string >
44504450 <key >patterns </key >
44514451 <array >
44524452 <dict >
52785278 </dict >
52795279 </dict >
52805280 <key >end </key >
5281- <string >(?=$|^|[;,:})\]]|((?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(as)\s+)|(\s+\< )) </string >
5281+ <string >(?=$|^|[;,:})\]]|\|\||\ & \ & | ((?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(as)\s+)|(\s+\< )) </string >
52825282 <key >patterns </key >
52835283 <array >
52845284 <dict >
Original file line number Diff line number Diff line change 44704470 </dict >
44714471 </dict >
44724472 <key >end </key >
4473- <string >(?=$|^|[,}]|((?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(as)\s+)) </string >
4473+ <string >(?=$|^|[,}]|\|\||\ & \ & | ((?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(as)\s+)) </string >
44744474 <key >patterns </key >
44754475 <array >
44764476 <dict >
52245224 </dict >
52255225 </dict >
52265226 <key >end </key >
5227- <string >(?=$|^|[;,:})\]]|((?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(as)\s+)|(\s+\< )) </string >
5227+ <string >(?=$|^|[;,:})\]]|\|\||\ & \ & | ((?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(as)\s+)|(\s+\< )) </string >
52285228 <key >patterns </key >
52295229 <array >
52305230 <dict >
Original file line number Diff line number Diff line change 1+ original file
2+ -----------------------------------
3+ Date as any || null
4+ -----------------------------------
5+
6+ Grammar: TypeScript.tmLanguage
7+ -----------------------------------
8+ >Date as any || null
9+ ^^^^
10+ source.ts support.class.builtin.ts
11+ ^
12+ source.ts
13+ ^^
14+ source.ts keyword.control.as.ts
15+ ^
16+ source.ts
17+ ^^^
18+ source.ts support.type.primitive.ts
19+ ^
20+ source.ts
21+ ^^
22+ source.ts keyword.operator.logical.ts
23+ ^
24+ source.ts
25+ ^^^^
26+ source.ts constant.language.null.ts
Original file line number Diff line number Diff line change 1+ Date as any || null
You can’t perform that action at this time.
0 commit comments