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/acorn.log
+13-19
Original file line number
Diff line number
Diff line change
@@ -479,32 +479,26 @@ node_modules/acorn/acorn/dist/bin.js(54,30): error TS2769: No overload matches t
479
479
Argument of type '2 | null' is not assignable to parameter of type 'string | number | undefined'.
480
480
Type 'null' is not assignable to type 'string | number | undefined'.
481
481
node_modules/acorn/acorn/dist/bin.js(58,23): error TS2769: No overload matches this call.
482
-
Overload 1 of 3, '(path: string | number | Buffer | URL, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error.
483
-
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
484
-
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
485
-
Overload 2 of 3, '(path: string | number | Buffer | URL, options: { encoding: BufferEncoding; flag?: string | undefined; } | "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | ... 4 more ... | "hex"): string', gave the following error.
486
-
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
487
-
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
488
-
Overload 3 of 3, '(path: string | number | Buffer | URL, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | (BaseEncodingOptions & { ...; }) | null | undefined): string | Buffer', gave the following error.
489
-
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
490
-
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
482
+
Overload 1 of 3, '(path: number | PathLike, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error.
483
+
Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'.
484
+
Type 'undefined' is not assignable to type 'number | PathLike'.
485
+
Overload 2 of 3, '(path: number | PathLike, options: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): string', gave the following error.
486
+
Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'.
487
+
Overload 3 of 3, '(path: number | PathLike, options?: BufferEncoding | (BaseEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer', gave the following error.
488
+
Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'.
491
489
node_modules/acorn/bin/_acorn.js(51,30): error TS2339: Property 'getToken' does not exist on type 'Parser'.
492
490
node_modules/acorn/bin/_acorn.js(59,30): error TS2769: No overload matches this call.
493
491
Overload 1 of 2, '(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string', gave the following error.
494
492
Argument of type 'null' is not assignable to parameter of type '((this: any, key: string, value: any) => any) | undefined'.
495
493
Overload 2 of 2, '(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string', gave the following error.
496
494
Argument of type '2 | null' is not assignable to parameter of type 'string | number | undefined'.
497
-
Type 'null' is not assignable to type 'string | number | undefined'.
498
495
node_modules/acorn/bin/_acorn.js(63,23): error TS2769: No overload matches this call.
499
-
Overload 1 of 3, '(path: string | number | Buffer | URL, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error.
500
-
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
501
-
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
502
-
Overload 2 of 3, '(path: string | number | Buffer | URL, options: { encoding: BufferEncoding; flag?: string | undefined; } | "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | ... 4 more ... | "hex"): string', gave the following error.
503
-
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
504
-
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
505
-
Overload 3 of 3, '(path: string | number | Buffer | URL, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | (BaseEncodingOptions & { ...; }) | null | undefined): string | Buffer', gave the following error.
506
-
Argument of type 'string | undefined' is not assignable to parameter of type 'string | number | Buffer | URL'.
507
-
Type 'undefined' is not assignable to type 'string | number | Buffer | URL'.
496
+
Overload 1 of 3, '(path: number | PathLike, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error.
497
+
Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'.
498
+
Overload 2 of 3, '(path: number | PathLike, options: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): string', gave the following error.
499
+
Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'.
500
+
Overload 3 of 3, '(path: number | PathLike, options?: BufferEncoding | (BaseEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer', gave the following error.
501
+
Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'.
508
502
node_modules/acorn/bin/run_test262.js(3,21): error TS2307: Cannot find module 'test262-parser-runner' or its corresponding type declarations.
509
503
node_modules/acorn/dist/acorn.es.js(36,1): error TS2322: Type 'null' is not assignable to type 'string'.
510
504
node_modules/acorn/dist/acorn.es.js(36,32): error TS2322: Type 'null' is not assignable to type 'string'.
Copy file name to clipboardExpand all lines: tests/baselines/reference/user/adonis-framework.log
+11-11
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: Encoding | undefined, output_encoding: BinaryToTextEncoding): string', gave the following error.
41
+
Argument of type 'string' is not assignable to parameter of type 'Encoding | 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: Encoding): 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: BinaryToTextEncoding | undefined, output_encoding: Encoding): string', gave the following error.
50
+
Argument of type 'string' is not assignable to parameter of type 'Encoding'.
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'.
@@ -72,8 +72,8 @@ node_modules/adonis-framework/src/Event/index.js(207,24): error TS2304: Cannot f
72
72
node_modules/adonis-framework/src/Event/index.js(256,52): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
73
73
Type 'Function' provides no match for the signature '(...values: any[]): void'.
74
74
node_modules/adonis-framework/src/Event/index.js(264,28): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
75
-
node_modules/adonis-framework/src/Event/index.js(271,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: string, name: any, handler: TimerHandler]'.
76
-
node_modules/adonis-framework/src/Event/index.js(278,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: string, name: any, handler: TimerHandler]'.
75
+
node_modules/adonis-framework/src/Event/index.js(271,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: string, name: any, handler: string | Function]'.
76
+
node_modules/adonis-framework/src/Event/index.js(278,25): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: string, name: any, handler: string | Function]'.
77
77
node_modules/adonis-framework/src/Event/index.js(294,30): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
78
78
node_modules/adonis-framework/src/Exceptions/index.js(13,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
79
79
node_modules/adonis-framework/src/Exceptions/index.js(27,21): error TS2554: Expected 0 arguments, but got 3.
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.
0 commit comments