Skip to content

Commit

Permalink
Merge pull request #658 from 43081j/unknown-type
Browse files Browse the repository at this point in the history
add unknown type
  • Loading branch information
sheetalkamat authored Aug 28, 2018
2 parents 6de67c7 + 3f85839 commit 67d50d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TypeScript.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -2100,7 +2100,7 @@ repository:

type-primitive:
name: support.type.primitive.ts
match: '{{startOfIdentifier}}(string|number|boolean|symbol|any|void|never){{endOfIdentifier}}'
match: '{{startOfIdentifier}}(string|number|boolean|symbol|any|void|never|unknown){{endOfIdentifier}}'

type-builtin-literals:
name: support.type.builtin.ts
Expand Down
2 changes: 1 addition & 1 deletion TypeScript.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -6228,7 +6228,7 @@
<key>name</key>
<string>support.type.primitive.ts</string>
<key>match</key>
<string>(?&lt;![_$[:alnum:]])(?:(?&lt;=\.\.\.)|(?&lt;!\.))(string|number|boolean|symbol|any|void|never)(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.))</string>
<string>(?&lt;![_$[:alnum:]])(?:(?&lt;=\.\.\.)|(?&lt;!\.))(string|number|boolean|symbol|any|void|never|unknown)(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.))</string>
</dict>
<key>type-builtin-literals</key>
<dict>
Expand Down
2 changes: 1 addition & 1 deletion TypeScriptReact.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -6174,7 +6174,7 @@
<key>name</key>
<string>support.type.primitive.tsx</string>
<key>match</key>
<string>(?&lt;![_$[:alnum:]])(?:(?&lt;=\.\.\.)|(?&lt;!\.))(string|number|boolean|symbol|any|void|never)(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.))</string>
<string>(?&lt;![_$[:alnum:]])(?:(?&lt;=\.\.\.)|(?&lt;!\.))(string|number|boolean|symbol|any|void|never|unknown)(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.))</string>
</dict>
<key>type-builtin-literals</key>
<dict>
Expand Down

0 comments on commit 67d50d2

Please sign in to comment.