Skip to content

Commit

Permalink
Update contents for TypeScript 4.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRosenwasser committed Feb 24, 2022
1 parent ba45efd commit c525eb0
Show file tree
Hide file tree
Showing 48 changed files with 96,475 additions and 69,834 deletions.
66 changes: 57 additions & 9 deletions TypeScript.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -3852,35 +3852,40 @@
</dict>
<dict>
<key>match</key>
<string>(?&lt;![_$[:alnum:]])(?:(?&lt;=\.\.\.)|(?&lt;!\.))(?:(\bdefault)|(\*)|(\b[_$[:alpha:]][_$[:alnum:]]*))\s+(as)\s+(?:(default(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)))|([_$[:alpha:]][_$[:alnum:]]*))</string>
<string>(?&lt;![_$[:alnum:]])(?:(?&lt;=\.\.\.)|(?&lt;!\.))(?:(?:(\btype)\s+)?(?:(\bdefault)|(\*)|(\b[_$[:alpha:]][_$[:alnum:]]*)))\s+(as)\s+(?:(default(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)))|([_$[:alpha:]][_$[:alnum:]]*))</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.control.default.ts</string>
<string>keyword.control.type.ts</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>constant.language.import-export-all.ts</string>
<string>keyword.control.default.ts</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>variable.other.readwrite.ts</string>
<string>constant.language.import-export-all.ts</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>keyword.control.as.ts</string>
<string>variable.other.readwrite.ts</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>keyword.control.default.ts</string>
<string>keyword.control.as.ts</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>keyword.control.default.ts</string>
</dict>
<key>7</key>
<dict>
<key>name</key>
<string>variable.other.readwrite.alias.ts</string>
Expand All @@ -3904,10 +3909,21 @@
<string>\b(default)\b</string>
</dict>
<dict>
<key>name</key>
<string>variable.other.readwrite.alias.ts</string>
<key>match</key>
<string>([_$[:alpha:]][_$[:alnum:]]*)</string>
<string>(?:(\btype)\s+)?([_$[:alpha:]][_$[:alnum:]]*)</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.control.type.ts</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>variable.other.readwrite.alias.ts</string>
</dict>
</dict>
</dict>
</array>
</dict>
Expand Down Expand Up @@ -9080,6 +9096,38 @@
</dict>
</dict>
</dict>
<dict>
<key>begin</key>
<string>(?x)((@)template)\s+(?={)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>storage.type.class.jsdoc</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>punctuation.definition.block.tag.jsdoc</string>
</dict>
</dict>
<key>end</key>
<string>(?=\s|\*/|[^{}\[\]A-Za-z_$])</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#jsdoctype</string>
</dict>
<dict>
<key>name</key>
<string>variable.other.jsdoc</string>
<key>match</key>
<string>([A-Za-z_$][\w$.\[\]]*)</string>
</dict>
</array>
</dict>
<dict>
<key>match</key>
<string>(?x)
Expand Down
66 changes: 57 additions & 9 deletions TypeScriptReact.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -3874,35 +3874,40 @@
</dict>
<dict>
<key>match</key>
<string>(?&lt;![_$[:alnum:]])(?:(?&lt;=\.\.\.)|(?&lt;!\.))(?:(\bdefault)|(\*)|(\b[_$[:alpha:]][_$[:alnum:]]*))\s+(as)\s+(?:(default(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)))|([_$[:alpha:]][_$[:alnum:]]*))</string>
<string>(?&lt;![_$[:alnum:]])(?:(?&lt;=\.\.\.)|(?&lt;!\.))(?:(?:(\btype)\s+)?(?:(\bdefault)|(\*)|(\b[_$[:alpha:]][_$[:alnum:]]*)))\s+(as)\s+(?:(default(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)))|([_$[:alpha:]][_$[:alnum:]]*))</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.control.default.tsx</string>
<string>keyword.control.type.tsx</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>constant.language.import-export-all.tsx</string>
<string>keyword.control.default.tsx</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>variable.other.readwrite.tsx</string>
<string>constant.language.import-export-all.tsx</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>keyword.control.as.tsx</string>
<string>variable.other.readwrite.tsx</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>keyword.control.default.tsx</string>
<string>keyword.control.as.tsx</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>keyword.control.default.tsx</string>
</dict>
<key>7</key>
<dict>
<key>name</key>
<string>variable.other.readwrite.alias.tsx</string>
Expand All @@ -3926,10 +3931,21 @@
<string>\b(default)\b</string>
</dict>
<dict>
<key>name</key>
<string>variable.other.readwrite.alias.tsx</string>
<key>match</key>
<string>([_$[:alpha:]][_$[:alnum:]]*)</string>
<string>(?:(\btype)\s+)?([_$[:alpha:]][_$[:alnum:]]*)</string>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.control.type.tsx</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>variable.other.readwrite.alias.tsx</string>
</dict>
</dict>
</dict>
</array>
</dict>
Expand Down Expand Up @@ -9028,6 +9044,38 @@
</dict>
</dict>
</dict>
<dict>
<key>begin</key>
<string>(?x)((@)template)\s+(?={)</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>storage.type.class.jsdoc</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>punctuation.definition.block.tag.jsdoc</string>
</dict>
</dict>
<key>end</key>
<string>(?=\s|\*/|[^{}\[\]A-Za-z_$])</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>#jsdoctype</string>
</dict>
<dict>
<key>name</key>
<string>variable.other.jsdoc</string>
<key>match</key>
<string>([A-Za-z_$][\w$.\[\]]*)</string>
</dict>
</array>
</dict>
<dict>
<key>match</key>
<string>(?x)
Expand Down
2 changes: 1 addition & 1 deletion tsserver/cancellationToken.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c525eb0

Please sign in to comment.