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
pyright-internal: src/tests/harness/utils.ts(328,12): error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead?
4
3
5
4
6
5
7
6
Standard error:
8
7
lerna notice cli vX.X.X
9
8
lerna info Executing command in 3 packages: "tsc --noEmit"
10
-
lerna ERR! Received non-zero exit code 2 during execution
11
9
lerna success exec Executed command in 3 packages: "tsc --noEmit"
Copy file name to clipboardExpand all lines: tests/baselines/reference/user/adonis-framework.log
+9-9
Original file line number
Diff line number
Diff line change
@@ -35,19 +35,19 @@ node_modules/adonis-framework/src/Config/index.js(39,15): error TS2304: Cannot f
35
35
node_modules/adonis-framework/src/Config/index.js(58,15): error TS2304: Cannot find name 'Mixed'.
36
36
node_modules/adonis-framework/src/Encryption/index.js(53,15): error TS2304: Cannot find name 'Mixed'.
37
37
node_modules/adonis-framework/src/Encryption/index.js(71,34): error TS2769: No overload matches this call.
38
-
Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: HexBase64BinaryEncoding): string', gave the following error.
38
+
Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: BinaryToTextEncoding): string', gave the following error.
39
39
Argument of type 'string' is not assignable to parameter of type 'undefined'.
40
-
Overload 2 of 4, '(data: string, input_encoding: "utf8" | "ascii" | "binary" | undefined, output_encoding: HexBase64BinaryEncoding): string', gave the following error.
41
-
Argument of type 'string' is not assignable to parameter of type '"utf8" | "ascii" | "binary" | undefined'.
40
+
Overload 2 of 4, '(data: string, input_encoding: "utf8" | "ascii" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined, output_encoding: BinaryToTextEncoding): string', gave the following error.
41
+
Argument of type 'string' is not assignable to parameter of type '"utf8" | "ascii" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined'.
42
42
node_modules/adonis-framework/src/Encryption/index.js(77,27): error TS2322: Type 'string' is not assignable to type 'Buffer'.
43
43
node_modules/adonis-framework/src/Encryption/index.js(77,50): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
44
44
node_modules/adonis-framework/src/Encryption/index.js(85,23): error TS8024: JSDoc '@param' tag has name 'value', but there is no parameter with that name.
45
45
node_modules/adonis-framework/src/Encryption/index.js(87,15): error TS2304: Cannot find name 'Mixed'.
46
-
node_modules/adonis-framework/src/Encryption/index.js(101,62): error TS2769: No overload matches this call.
47
-
Overload 1 of 4, '(data: ArrayBufferView, input_encoding: "base64" | "binary" | "hex" | undefined, output_encoding: Utf8AsciiBinaryEncoding): string', gave the following error.
48
-
Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'.
49
-
Overload 2 of 4, '(data: string, input_encoding: "base64" | "binary" | "hex" | undefined, output_encoding: Utf8AsciiBinaryEncoding): string', gave the following error.
50
-
Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'.
46
+
node_modules/adonis-framework/src/Encryption/index.js(101,21): error TS2769: No overload matches this call.
47
+
Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: BufferEncoding): string', gave the following error.
48
+
Argument of type '"base64"' is not assignable to parameter of type 'undefined'.
49
+
Overload 2 of 4, '(data: string, input_encoding: "base64" | "hex" | undefined, output_encoding: BufferEncoding): string', gave the following error.
50
+
Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'.
51
51
node_modules/adonis-framework/src/Encryption/index.js(102,5): error TS2322: Type 'string' is not assignable to type 'Buffer & string'.
52
52
Type 'string' is not assignable to type 'Buffer'.
53
53
node_modules/adonis-framework/src/Encryption/index.js(102,33): error TS2345: Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'.
node_modules/adonis-framework/src/Request/index.js(468,15): error TS2304: Cannot find name 'Mixed'.
126
126
node_modules/adonis-framework/src/Request/index.js(480,14): error TS2304: Cannot find name 'Mixed'.
127
127
node_modules/adonis-framework/src/Request/index.js(482,15): error TS2304: Cannot find name 'Mixed'.
128
-
node_modules/adonis-framework/src/Request/index.js(499,17): error TS2551: Property '_params' does not exist on type 'Request'. Did you mean 'param'?
128
+
node_modules/adonis-framework/src/Request/index.js(499,17): error TS2551: Property '_params' does not exist on type 'Request'. Did you mean 'params'?
129
129
node_modules/adonis-framework/src/Request/index.js(523,15): error TS2304: Cannot find name 'Objecr'.
130
130
node_modules/adonis-framework/src/Request/index.js(572,23): error TS8029: JSDoc '@param' tag has name 'pattern', but there is no parameter with that name. It would match 'arguments' if it had an array type.
131
131
node_modules/adonis-framework/src/Request/index.js(600,17): error TS2554: Expected 2 arguments, but got 1.
Copy file name to clipboardExpand all lines: tests/baselines/reference/user/axios-src.log
+14-11
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,20 @@
1
1
Exit Code: 2
2
2
Standard output:
3
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(84,22): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
4
+
lib/adapters/http.js(22,12): error TS2304: Cannot find name 'AxiosProxyConfig'.
5
+
lib/adapters/http.js(34,5): error TS2532: Object is possibly 'undefined'.
6
+
lib/adapters/http.js(38,11): error TS2339: Property 'beforeRedirect' does not exist on type 'ClientRequestArgs'.
7
+
lib/adapters/http.js(109,22): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'.
5
8
Type 'null' is not assignable to type 'string'.
6
-
lib/adapters/http.js(121,17): error TS2531: Object is possibly 'null'.
7
-
lib/adapters/http.js(121,40): error TS2531: Object is possibly 'null'.
8
-
lib/adapters/http.js(225,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
9
-
lib/adapters/http.js(231,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
10
-
lib/adapters/http.js(237,13): error TS2322: Type 'string' is not assignable to type 'Buffer'.
11
-
lib/adapters/http.js(239,15): error TS2322: Type 'string' is not assignable to type 'Buffer'.
12
-
lib/adapters/http.js(239,45): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
13
-
lib/adapters/http.js(252,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
14
-
lib/adapters/http.js(281,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
9
+
lib/adapters/http.js(146,17): error TS2531: Object is possibly 'null'.
10
+
lib/adapters/http.js(146,40): error TS2531: Object is possibly 'null'.
11
+
lib/adapters/http.js(241,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
12
+
lib/adapters/http.js(247,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
13
+
lib/adapters/http.js(253,13): error TS2322: Type 'string' is not assignable to type 'Buffer'.
14
+
lib/adapters/http.js(255,15): error TS2322: Type 'string' is not assignable to type 'Buffer'.
15
+
lib/adapters/http.js(255,45): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
16
+
lib/adapters/http.js(268,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
17
+
lib/adapters/http.js(297,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
15
18
lib/adapters/xhr.js(65,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
16
19
lib/adapters/xhr.js(77,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
17
20
lib/adapters/xhr.js(84,51): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
@@ -49,7 +52,7 @@ lib/core/enhanceError.js(38,18): error TS2339: Property 'code' does not exist on
49
52
lib/core/settle.js(20,7): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
50
53
lib/helpers/buildURL.js(22,49): error TS1016: A required parameter cannot follow an optional parameter.
51
54
lib/helpers/cookies.js(16,56): error TS2551: Property 'toGMTString' does not exist on type 'Date'. Did you mean 'toUTCString'?
52
-
lib/utils.js(273,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.
55
+
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.
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(295,16): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window & typeof globalThis'.
6085
6085
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(295,68): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window & typeof globalThis'.
6086
6086
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(296,41): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window & typeof globalThis'.
6087
-
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(306,66): error TS2349: This expression is not callable.
6088
-
Each member of the union type '(<U>(callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | (<U>(callbackfn: (value: { handler: any; useCapture: boolean; passive: boolean; once: boolean; type: string; }, index: number, array: { ...; }[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other.
6089
6087
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(324,5): error TS2741: Property 'internalHandlers' is missing in type '{ eventListeners: any[]; }' but required in type '{ eventListeners: EventListenerObjectInInspectedPage[]; internalHandlers: (() => any)[]; }'.
6090
6088
node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(371,103): error TS2322: Type '{ type: any; useCapture: any; passive: any; once: any; handler: any; remove: any; }' is not assignable to type 'EventListenerObjectInInspectedPage'.
6091
6089
Object literal may only specify known properties, and 'remove' does not exist in type 'EventListenerObjectInInspectedPage'.
0 commit comments