@typescript-eslint/type-utils 8.50.2-alpha.9 → 8.51.1-alpha.0

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.
@@ -143,7 +143,7 @@ function typeIsOrHasBaseType(type, parentType) {
143
143
  }
144
144
  for (const baseType of typeAndBaseTypes) {
145
145
  const baseSymbol = baseType.getSymbol();
146
- if (baseSymbol && baseSymbol.name === parentSymbol.name) {
146
+ if (baseSymbol?.name === parentSymbol.name) {
147
147
  return true;
148
148
  }
149
149
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typescript-eslint/type-utils",
3
- "version": "8.50.2-alpha.9",
3
+ "version": "8.51.1-alpha.0",
4
4
  "description": "Type utilities for working with TypeScript + ESLint together",
5
5
  "files": [
6
6
  "dist",
@@ -44,18 +44,18 @@
44
44
  "typecheck": "yarn run -BT nx typecheck"
45
45
  },
46
46
  "dependencies": {
47
- "@typescript-eslint/types": "8.50.2-alpha.9",
48
- "@typescript-eslint/typescript-estree": "8.50.2-alpha.9",
49
- "@typescript-eslint/utils": "8.50.2-alpha.9",
47
+ "@typescript-eslint/types": "8.51.1-alpha.0",
48
+ "@typescript-eslint/typescript-estree": "8.51.1-alpha.0",
49
+ "@typescript-eslint/utils": "8.51.1-alpha.0",
50
50
  "debug": "^4.3.4",
51
- "ts-api-utils": "^2.1.0"
51
+ "ts-api-utils": "^2.2.0"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "eslint": "^8.57.0 || ^9.0.0",
55
55
  "typescript": ">=4.8.4 <6.0.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@typescript-eslint/parser": "8.50.2-alpha.9",
58
+ "@typescript-eslint/parser": "8.51.1-alpha.0",
59
59
  "@vitest/coverage-v8": "^3.1.3",
60
60
  "ajv": "^6.12.6",
61
61
  "eslint": "*",