@typescript-eslint/typescript-estree 8.58.2-alpha.10 → 8.58.2-alpha.11
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.
- package/dist/check-modifiers.js +2 -0
- package/package.json +5 -5
package/dist/check-modifiers.js
CHANGED
|
@@ -89,6 +89,8 @@ function nodeCanBeDecorated(node) {
|
|
|
89
89
|
return true;
|
|
90
90
|
}
|
|
91
91
|
// `ts.nodeCanBeDecorated` uses this if `useLegacyDecorators: false`
|
|
92
|
+
// parent is already a ClassLike subtype; defensive check
|
|
93
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
92
94
|
if (ts.isClassLike(parent) && !hasAbstractModifier(node)) {
|
|
93
95
|
return true;
|
|
94
96
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/typescript-estree",
|
|
3
|
-
"version": "8.58.2-alpha.
|
|
3
|
+
"version": "8.58.2-alpha.11",
|
|
4
4
|
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"semver": "^7.7.3",
|
|
50
50
|
"tinyglobby": "^0.2.15",
|
|
51
51
|
"ts-api-utils": "^2.5.0",
|
|
52
|
-
"@typescript-eslint/
|
|
53
|
-
"@typescript-eslint/
|
|
54
|
-
"@typescript-eslint/
|
|
55
|
-
"@typescript-eslint/types": "8.58.2-alpha.
|
|
52
|
+
"@typescript-eslint/tsconfig-utils": "8.58.2-alpha.11",
|
|
53
|
+
"@typescript-eslint/project-service": "8.58.2-alpha.11",
|
|
54
|
+
"@typescript-eslint/visitor-keys": "8.58.2-alpha.11",
|
|
55
|
+
"@typescript-eslint/types": "8.58.2-alpha.11"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@vitest/coverage-v8": "^4.0.18",
|