@typescript-eslint/type-utils 8.32.2-alpha.0 → 8.32.2-alpha.10
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.
|
@@ -10,8 +10,8 @@ import type * as ts from 'typescript';
|
|
|
10
10
|
*
|
|
11
11
|
* @returns false if it's safe, or an object with the two types if it's unsafe
|
|
12
12
|
*/
|
|
13
|
-
export declare function isUnsafeAssignment(type: ts.Type, receiver: ts.Type, checker: ts.TypeChecker, senderNode: TSESTree.Node | null): {
|
|
13
|
+
export declare function isUnsafeAssignment(type: ts.Type, receiver: ts.Type, checker: ts.TypeChecker, senderNode: TSESTree.Node | null): false | {
|
|
14
14
|
receiver: ts.Type;
|
|
15
15
|
sender: ts.Type;
|
|
16
|
-
}
|
|
16
|
+
};
|
|
17
17
|
//# sourceMappingURL=isUnsafeAssignment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isUnsafeAssignment.d.ts","sourceRoot":"","sources":["../src/isUnsafeAssignment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAOtC;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,QAAQ,EAAE,EAAE,CAAC,IAAI,EACjB,OAAO,EAAE,EAAE,CAAC,WAAW,EACvB,UAAU,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,GAC/B;IAAE,QAAQ,EAAE,EAAE,CAAC,IAAI,CAAC;IAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"isUnsafeAssignment.d.ts","sourceRoot":"","sources":["../src/isUnsafeAssignment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,KAAK,EAAE,MAAM,YAAY,CAAC;AAOtC;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAChC,IAAI,EAAE,EAAE,CAAC,IAAI,EACb,QAAQ,EAAE,EAAE,CAAC,IAAI,EACjB,OAAO,EAAE,EAAE,CAAC,WAAW,EACvB,UAAU,EAAE,QAAQ,CAAC,IAAI,GAAG,IAAI,GAC/B,KAAK,GAAG;IAAE,QAAQ,EAAE,EAAE,CAAC,IAAI,CAAC;IAAC,MAAM,EAAE,EAAE,CAAC,IAAI,CAAA;CAAE,CAQhD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/type-utils",
|
|
3
|
-
"version": "8.32.2-alpha.
|
|
3
|
+
"version": "8.32.2-alpha.10",
|
|
4
4
|
"description": "Type utilities for working with TypeScript + ESLint together",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -36,16 +36,17 @@
|
|
|
36
36
|
"estree"
|
|
37
37
|
],
|
|
38
38
|
"scripts": {
|
|
39
|
-
"
|
|
39
|
+
"//": "These package scripts are mostly here for convenience. Task running is handled by Nx at the root level.",
|
|
40
|
+
"build": "yarn run -BT nx build",
|
|
40
41
|
"clean": "rimraf dist/ coverage/",
|
|
41
|
-
"format": "
|
|
42
|
-
"lint": "
|
|
43
|
-
"test": "
|
|
44
|
-
"
|
|
42
|
+
"format": "yarn run -T format",
|
|
43
|
+
"lint": "yarn run -BT nx lint",
|
|
44
|
+
"test": "yarn run -BT nx test",
|
|
45
|
+
"typecheck": "yarn run -BT nx typecheck"
|
|
45
46
|
},
|
|
46
47
|
"dependencies": {
|
|
47
|
-
"@typescript-eslint/typescript-estree": "8.32.2-alpha.
|
|
48
|
-
"@typescript-eslint/utils": "8.32.2-alpha.
|
|
48
|
+
"@typescript-eslint/typescript-estree": "8.32.2-alpha.10",
|
|
49
|
+
"@typescript-eslint/utils": "8.32.2-alpha.10",
|
|
49
50
|
"debug": "^4.3.4",
|
|
50
51
|
"ts-api-utils": "^2.1.0"
|
|
51
52
|
},
|
|
@@ -54,11 +55,10 @@
|
|
|
54
55
|
"typescript": ">=4.8.4 <5.9.0"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
|
-
"@typescript-eslint/parser": "8.32.2-alpha.
|
|
58
|
+
"@typescript-eslint/parser": "8.32.2-alpha.10",
|
|
58
59
|
"@vitest/coverage-v8": "^3.1.3",
|
|
59
60
|
"ajv": "^6.12.6",
|
|
60
61
|
"eslint": "*",
|
|
61
|
-
"prettier": "^3.2.5",
|
|
62
62
|
"rimraf": "*",
|
|
63
63
|
"typescript": "*",
|
|
64
64
|
"vitest": "^3.1.3"
|
|
@@ -66,5 +66,11 @@
|
|
|
66
66
|
"funding": {
|
|
67
67
|
"type": "opencollective",
|
|
68
68
|
"url": "https://opencollective.com/typescript-eslint"
|
|
69
|
+
},
|
|
70
|
+
"nx": {
|
|
71
|
+
"name": "type-utils",
|
|
72
|
+
"includedScripts": [
|
|
73
|
+
"clean"
|
|
74
|
+
]
|
|
69
75
|
}
|
|
70
76
|
}
|