@willbooster/tree-sitter-typescript 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -701,7 +701,14 @@ module.exports = function defineGrammar(dialect) {
701
701
  prec(
702
702
  'call',
703
703
  seq(
704
- field('name', choice($._type_identifier, $.nested_type_identifier)),
704
+ field(
705
+ 'name',
706
+ choice(
707
+ $._type_identifier,
708
+ $.nested_type_identifier,
709
+ alias($._type_query_member_expression_in_type_annotation, $.member_expression)
710
+ )
711
+ ),
705
712
  field('type_arguments', $.type_arguments)
706
713
  )
707
714
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/tree-sitter-typescript",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "TypeScript and TSX grammars for tree-sitter",
5
5
  "keywords": [
6
6
  "incremental",
Binary file
Binary file
package/tree-sitter.json CHANGED
@@ -77,7 +77,7 @@
77
77
  }
78
78
  ],
79
79
  "metadata": {
80
- "version": "1.1.0",
80
+ "version": "1.1.1",
81
81
  "license": "MIT",
82
82
  "description": "TypeScript and TSX grammars for tree-sitter",
83
83
  "authors": [
@@ -2695,6 +2695,10 @@
2695
2695
  "multiple": false,
2696
2696
  "required": true,
2697
2697
  "types": [
2698
+ {
2699
+ "type": "member_expression",
2700
+ "named": true
2701
+ },
2698
2702
  {
2699
2703
  "type": "nested_type_identifier",
2700
2704
  "named": true
@@ -2691,6 +2691,10 @@
2691
2691
  "multiple": false,
2692
2692
  "required": true,
2693
2693
  "types": [
2694
+ {
2695
+ "type": "member_expression",
2696
+ "named": true
2697
+ },
2694
2698
  {
2695
2699
  "type": "nested_type_identifier",
2696
2700
  "named": true