@typescript-eslint/type-utils
Advanced tools
Comparing version 7.7.1-alpha.2 to 7.7.1-alpha.3
@@ -49,3 +49,5 @@ "use strict"; | ||
} | ||
else if (ts.isPropertyAssignment(parent) && ts.isIdentifier(node)) { | ||
else if (ts.isIdentifier(node) && | ||
(ts.isPropertyAssignment(parent) || | ||
ts.isShorthandPropertyAssignment(parent))) { | ||
return checker.getContextualType(node); | ||
@@ -52,0 +54,0 @@ } |
{ | ||
"name": "@typescript-eslint/type-utils", | ||
"version": "7.7.1-alpha.2", | ||
"version": "7.7.1-alpha.3", | ||
"description": "Type utilities for working with TypeScript + ESLint together", | ||
@@ -49,4 +49,4 @@ "files": [ | ||
"dependencies": { | ||
"@typescript-eslint/typescript-estree": "7.7.1-alpha.2", | ||
"@typescript-eslint/utils": "7.7.1-alpha.2", | ||
"@typescript-eslint/typescript-estree": "7.7.1-alpha.3", | ||
"@typescript-eslint/utils": "7.7.1-alpha.3", | ||
"debug": "^4.3.4", | ||
@@ -56,3 +56,3 @@ "ts-api-utils": "^1.3.0" | ||
"devDependencies": { | ||
"@typescript-eslint/parser": "7.7.1-alpha.2", | ||
"@typescript-eslint/parser": "7.7.1-alpha.3", | ||
"ajv": "^6.12.6", | ||
@@ -59,0 +59,0 @@ "downlevel-dts": "*", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
109190
1582
+ Added@typescript-eslint/scope-manager@7.7.1-alpha.3(transitive)
+ Added@typescript-eslint/types@7.7.1-alpha.3(transitive)
+ Added@typescript-eslint/typescript-estree@7.7.1-alpha.3(transitive)
+ Added@typescript-eslint/utils@7.7.1-alpha.3(transitive)
+ Added@typescript-eslint/visitor-keys@7.7.1-alpha.3(transitive)
- Removed@typescript-eslint/scope-manager@7.7.1-alpha.2(transitive)
- Removed@typescript-eslint/types@7.7.1-alpha.2(transitive)
- Removed@typescript-eslint/typescript-estree@7.7.1-alpha.2(transitive)
- Removed@typescript-eslint/utils@7.7.1-alpha.2(transitive)
- Removed@typescript-eslint/visitor-keys@7.7.1-alpha.2(transitive)