From 6014008698796cbaefc66af41bb979461682428f Mon Sep 17 00:00:00 2001 From: ota-meshi Date: Sun, 14 May 2023 10:20:53 +0900 Subject: [PATCH 1/4] add VGenericExpression to ast.md --- docs/ast.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/ast.md b/docs/ast.md index df6f8480..22182902 100644 --- a/docs/ast.md +++ b/docs/ast.md @@ -111,6 +111,11 @@ interface VSlotScopeExpression <: Expression { params: [ Pattern | RestElement ] } +interface VGenericExpression <: Expression { + type: "VGenericExpression" + params: [ TSTypeParameter ] +} + interface VFilterSequenceExpression <: Expression { type: "VFilterSequenceExpression" expression: Expression @@ -132,6 +137,7 @@ interface VFilter <: Node { - `VForExpression` is an expression node like [ForInStatement] but it has an array as `left` property and does not have `body` property. This is the value of [`v-for` directives]. - `VOnExpression` is an expression node like [BlockStatement] but it does not have braces. This is the value of [`v-on` directives] only if the `v-on` directive doesn't have that argument. - `VSlotScopeExpression` is an expression node like [VariableDeclarator]. This is the value of [`v-slot` directives], [`slot-scope` attributes], and `scope` attributes. +- `VGenericExpression` is an expression node like typescript-eslint's TSTypeParameterDeclaration. This is the value of [the `generic` attributes on the ` + From 6aa8585df1722d6154890db9a820680f1b2ee61a Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Sun, 11 Jun 2023 17:17:03 +0900 Subject: [PATCH 4/4] 9.3.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f764dd38..b0edab4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-eslint-parser", - "version": "9.3.0", + "version": "9.3.1", "description": "The ESLint custom parser for `.vue` files.", "engines": { "node": "^14.17.0 || >=16.0.0"