@typescript-eslint/type-utils 8.70.2-alpha.8 → 8.71.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.
- package/dist/typeFlagUtils.js +1 -1
- package/package.json +5 -5
package/dist/typeFlagUtils.js
CHANGED
|
@@ -43,7 +43,7 @@ const ANY_OR_UNKNOWN = ts.TypeFlags.Any | ts.TypeFlags.Unknown;
|
|
|
43
43
|
*/
|
|
44
44
|
function getTypeFlags(type) {
|
|
45
45
|
// @ts-expect-error Since typescript 5.0, this is invalid, but uses 0 as the default value of TypeFlags.
|
|
46
|
-
let flags = 0;
|
|
46
|
+
let flags = 0; // eslint-disable-line @typescript-eslint/no-unsafe-enum-assignment
|
|
47
47
|
for (const t of tsutils.unionConstituents(type)) {
|
|
48
48
|
flags |= t.flags;
|
|
49
49
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/type-utils",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.71.0",
|
|
4
4
|
"description": "Type utilities for working with TypeScript + ESLint together",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"estree"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@typescript-eslint/types": "8.
|
|
38
|
-
"@typescript-eslint/typescript-estree": "8.
|
|
39
|
-
"@typescript-eslint/utils": "8.
|
|
37
|
+
"@typescript-eslint/types": "8.71.0",
|
|
38
|
+
"@typescript-eslint/typescript-estree": "8.71.0",
|
|
39
|
+
"@typescript-eslint/utils": "8.71.0",
|
|
40
40
|
"debug": "^4.4.3",
|
|
41
41
|
"ts-api-utils": "^2.5.0"
|
|
42
42
|
},
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/babel__code-frame": "^7.0.6",
|
|
49
|
-
"@typescript-eslint/parser": "8.
|
|
49
|
+
"@typescript-eslint/parser": "8.71.0",
|
|
50
50
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
51
51
|
"@vitest/coverage-v8": "^4.0.18",
|
|
52
52
|
"ajv": "^6.12.6",
|