forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 4
/
axios-src.log
59 lines (56 loc) · 5.33 KB
/
axios-src.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Exit Code: 2
Standard output:
lib/adapters/http.js(13,19): error TS2732: Cannot find module './../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension.
lib/adapters/http.js(22,12): error TS2304: Cannot find name 'AxiosProxyConfig'.
lib/adapters/http.js(34,5): error TS2532: Object is possibly 'undefined'.
lib/adapters/http.js(38,11): error TS2339: Property 'beforeRedirect' does not exist on type 'ClientRequestArgs'.
lib/adapters/http.js(116,22): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
Type 'null' is not assignable to type 'string'.
lib/adapters/http.js(153,17): error TS2531: Object is possibly 'null'.
lib/adapters/http.js(153,40): error TS2531: Object is possibly 'null'.
lib/adapters/http.js(248,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/http.js(254,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/http.js(260,13): error TS2322: Type 'string' is not assignable to type 'Buffer'.
lib/adapters/http.js(262,15): error TS2322: Type 'string' is not assignable to type 'Buffer'.
lib/adapters/http.js(262,45): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
lib/adapters/http.js(275,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/http.js(304,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/xhr.js(65,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(77,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(84,51): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/xhr.js(87,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(100,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(168,9): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/axios.js(23,9): error TS2554: Expected 3 arguments, but got 2.
lib/axios.js(25,3): error TS2739: Type '(...args: any[]) => any' is missing the following properties from type 'Axios': defaults, interceptors, request, getUri
lib/axios.js(32,7): error TS2339: Property 'Axios' does not exist on type 'Axios'.
lib/axios.js(35,7): error TS2339: Property 'create' does not exist on type 'Axios'.
lib/axios.js(40,7): error TS2339: Property 'Cancel' does not exist on type 'Axios'.
lib/axios.js(41,7): error TS2339: Property 'CancelToken' does not exist on type 'Axios'.
lib/axios.js(42,7): error TS2339: Property 'isCancel' does not exist on type 'Axios'.
lib/axios.js(45,7): error TS2339: Property 'all' does not exist on type 'Axios'.
lib/axios.js(48,7): error TS2339: Property 'spread' does not exist on type 'Axios'.
lib/axios.js(51,7): error TS2339: Property 'isAxiosError' does not exist on type 'Axios'.
lib/cancel/CancelToken.js(23,15): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
lib/cancel/CancelToken.js(28,11): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
lib/cancel/CancelToken.js(29,26): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
lib/cancel/CancelToken.js(37,12): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
lib/cancel/CancelToken.js(38,16): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
lib/core/enhanceError.js(14,9): error TS2339: Property 'config' does not exist on type 'Error'.
lib/core/enhanceError.js(16,11): error TS2339: Property 'code' does not exist on type 'Error'.
lib/core/enhanceError.js(19,9): error TS2339: Property 'request' does not exist on type 'Error'.
lib/core/enhanceError.js(20,9): error TS2339: Property 'response' does not exist on type 'Error'.
lib/core/enhanceError.js(21,9): error TS2339: Property 'isAxiosError' does not exist on type 'Error'.
lib/core/enhanceError.js(23,9): error TS2339: Property 'toJSON' does not exist on type 'Error'.
lib/core/enhanceError.js(29,25): error TS2339: Property 'description' does not exist on type 'Error'.
lib/core/enhanceError.js(30,20): error TS2339: Property 'number' does not exist on type 'Error'.
lib/core/enhanceError.js(32,22): error TS2339: Property 'fileName' does not exist on type 'Error'.
lib/core/enhanceError.js(33,24): error TS2339: Property 'lineNumber' does not exist on type 'Error'.
lib/core/enhanceError.js(34,26): error TS2339: Property 'columnNumber' does not exist on type 'Error'.
lib/core/enhanceError.js(37,20): error TS2339: Property 'config' does not exist on type 'Error'.
lib/core/enhanceError.js(38,18): error TS2339: Property 'code' does not exist on type 'Error'.
lib/core/settle.js(20,7): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/helpers/buildURL.js(22,49): error TS1016: A required parameter cannot follow an optional parameter.
lib/helpers/cookies.js(16,56): error TS2551: Property 'toGMTString' does not exist on type 'Date'. Did you mean 'toUTCString'?
lib/utils.js(271,20): error TS8029: JSDoc '@param' tag has name 'obj1', but there is no parameter with that name. It would match 'arguments' if it had an array type.
Standard error: