You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tests/baselines/reference/user/axios-src.log
+18-18
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,24 @@
1
1
Exit Code: 1
2
2
Standard output:
3
-
lib/adapters/http.js(12,19): error TS2732: Cannot find module './../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension
4
-
lib/adapters/http.js(85,22): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
3
+
lib/adapters/http.js(13,19): error TS2732: Cannot find module './../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension
4
+
lib/adapters/http.js(87,22): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
5
5
Type 'undefined' is not assignable to type 'string'.
6
-
lib/adapters/http.js(121,17): error TS2532: Object is possibly 'undefined'.
7
-
lib/adapters/http.js(121,40): error TS2532: Object is possibly 'undefined'.
8
-
lib/adapters/http.js(122,17): error TS2531: Object is possibly 'null'.
9
-
lib/adapters/http.js(122,54): error TS2531: Object is possibly 'null'.
10
-
lib/adapters/http.js(122,54): error TS2532: Object is possibly 'undefined'.
11
-
lib/adapters/http.js(221,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
12
-
lib/adapters/http.js(227,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
13
-
lib/adapters/http.js(233,13): error TS2322: Type 'string' is not assignable to type 'Buffer'.
14
-
lib/adapters/http.js(245,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
15
-
lib/adapters/http.js(269,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
16
-
lib/adapters/xhr.js(62,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
17
-
lib/adapters/xhr.js(74,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
18
-
lib/adapters/xhr.js(81,51): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
19
-
lib/adapters/xhr.js(84,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
20
-
lib/adapters/xhr.js(93,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
21
-
lib/adapters/xhr.js(163,9): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
6
+
lib/adapters/http.js(123,17): error TS2532: Object is possibly 'undefined'.
7
+
lib/adapters/http.js(123,40): error TS2532: Object is possibly 'undefined'.
8
+
lib/adapters/http.js(124,17): error TS2531: Object is possibly 'null'.
9
+
lib/adapters/http.js(124,54): error TS2531: Object is possibly 'null'.
10
+
lib/adapters/http.js(124,54): error TS2532: Object is possibly 'undefined'.
11
+
lib/adapters/http.js(223,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
12
+
lib/adapters/http.js(229,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
13
+
lib/adapters/http.js(235,13): error TS2322: Type 'string' is not assignable to type 'Buffer'.
14
+
lib/adapters/http.js(247,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
15
+
lib/adapters/http.js(271,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
16
+
lib/adapters/xhr.js(64,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
17
+
lib/adapters/xhr.js(76,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
18
+
lib/adapters/xhr.js(83,51): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
19
+
lib/adapters/xhr.js(86,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
20
+
lib/adapters/xhr.js(95,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
21
+
lib/adapters/xhr.js(165,9): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
22
22
lib/axios.js(23,9): error TS2554: Expected 3 arguments, but got 2.
23
23
lib/axios.js(25,3): error TS2739: Type '(...args: any[]) => any' is missing the following properties from type 'Axios': defaults, interceptors, request, getUri
24
24
lib/axios.js(32,7): error TS2339: Property 'Axios' does not exist on type 'Axios'.
0 commit comments