Skip to content

Commit 85a9b4b

Browse files
Update user baselines +cc @sandersn
1 parent 78bf52e commit 85a9b4b

File tree

7 files changed

+306
-307
lines changed

7 files changed

+306
-307
lines changed

tests/baselines/reference/user/chrome-devtools-frontend.log

+3-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(270,9): error TS2322:
1111
Type 'void' is not assignable to type 'undefined'.
1212
node_modules/chrome-devtools-frontend/front_end/Runtime.js(280,5): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'.
1313
node_modules/chrome-devtools-frontend/front_end/Runtime.js(525,9): error TS2322: Type 'Window' is not assignable to type 'Window & typeof globalThis'.
14-
Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 889 more.
14+
Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 787 more.
1515
node_modules/chrome-devtools-frontend/front_end/Runtime.js(527,55): error TS2352: Conversion of type 'Window & typeof globalThis' to type 'new () => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
1616
Type 'Window & typeof globalThis' provides no match for the signature 'new (): any'.
1717
node_modules/chrome-devtools-frontend/front_end/Runtime.js(539,24): error TS2351: This expression is not constructable.
@@ -6130,6 +6130,8 @@ node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js
61306130
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(266,32): error TS2339: Property 'createChild' does not exist on type 'Element'.
61316131
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(271,14): error TS2339: Property 'createChild' does not exist on type 'Element'.
61326132
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(272,33): error TS2339: Property 'createChild' does not exist on type 'Element'.
6133+
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(277,14): error TS2339: Property 'createChild' does not exist on type 'Element'.
6134+
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(281,32): error TS2339: Property 'createChild' does not exist on type 'Element'.
61336135

61346136

61356137

tests/baselines/reference/user/enhanced-resolve.log

+7-9
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,20 @@ node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(124,3): error TS2532:
66
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(125,23): error TS2345: Argument of type 'Set<any> | undefined' is not assignable to parameter of type 'Set<any>'.
77
Type 'undefined' is not assignable to type 'Set<any>'.
88
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(127,18): error TS2769: No overload matches this call.
9-
Overload 1 of 2, '(intervalId: Timeout): void', gave the following error.
10-
Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'.
11-
Type 'null' is not assignable to type 'Timeout'.
9+
Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
10+
Argument of type 'Timer | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
11+
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
1212
Overload 2 of 2, '(id?: number | undefined): void', gave the following error.
1313
Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'.
1414
Type 'null' is not assignable to type 'number | undefined'.
1515
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(143,18): error TS2769: No overload matches this call.
16-
Overload 1 of 2, '(intervalId: Timeout): void', gave the following error.
17-
Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'.
18-
Type 'null' is not assignable to type 'Timeout'.
16+
Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
17+
Argument of type 'Timer | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
1918
Overload 2 of 2, '(id?: number | undefined): void', gave the following error.
2019
Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'.
2120
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(162,18): error TS2769: No overload matches this call.
22-
Overload 1 of 2, '(intervalId: Timeout): void', gave the following error.
23-
Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'.
24-
Type 'null' is not assignable to type 'Timeout'.
21+
Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
22+
Argument of type 'Timer | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
2523
Overload 2 of 2, '(id?: number | undefined): void', gave the following error.
2624
Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'.
2725
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(192,20): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.

tests/baselines/reference/user/follow-redirects.log

+7-11
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,13 @@ node_modules/follow-redirects/index.js(205,8): error TS2339: Property 'on' does
2525
node_modules/follow-redirects/index.js(206,8): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
2626
node_modules/follow-redirects/index.js(207,8): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
2727
node_modules/follow-redirects/index.js(266,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
28-
node_modules/follow-redirects/index.js(302,16): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
29-
node_modules/follow-redirects/index.js(346,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
30-
node_modules/follow-redirects/index.js(361,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
31-
node_modules/follow-redirects/index.js(385,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
32-
Type 'undefined' is not assignable to type 'string'.
33-
node_modules/follow-redirects/index.js(393,31): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
34-
Type 'undefined' is not assignable to type 'string'.
35-
node_modules/follow-redirects/index.js(396,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
36-
node_modules/follow-redirects/index.js(422,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
37-
node_modules/follow-redirects/index.js(433,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
38-
node_modules/follow-redirects/index.js(555,25): error TS2339: Property 'code' does not exist on type 'Error'.
28+
node_modules/follow-redirects/index.js(307,16): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
29+
node_modules/follow-redirects/index.js(351,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
30+
node_modules/follow-redirects/index.js(366,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
31+
node_modules/follow-redirects/index.js(412,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
32+
node_modules/follow-redirects/index.js(446,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
33+
node_modules/follow-redirects/index.js(457,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
34+
node_modules/follow-redirects/index.js(579,25): error TS2339: Property 'code' does not exist on type 'Error'.
3935

4036

4137

tests/baselines/reference/user/grunt.log

+18-18
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,24 @@ lib/grunt/file.js(239,74): error TS2571: Object is of type 'unknown'.
2525
lib/grunt/file.js(263,74): error TS2571: Object is of type 'unknown'.
2626
lib/grunt/file.js(270,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
2727
lib/grunt/file.js(288,86): error TS2571: Object is of type 'unknown'.
28-
lib/grunt/file.js(341,7): error TS2367: This condition will always return 'false' since the types 'string | Buffer' and 'boolean' have no overlap.
29-
lib/grunt/file.js(352,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
30-
lib/grunt/file.js(354,29): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
31-
lib/grunt/file.js(369,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
32-
lib/grunt/file.js(373,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
33-
lib/grunt/file.js(387,75): error TS2571: Object is of type 'unknown'.
34-
lib/grunt/file.js(393,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
35-
lib/grunt/file.js(399,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
36-
lib/grunt/file.js(403,9): error TS2571: Object is of type 'unknown'.
37-
lib/grunt/file.js(407,85): error TS2571: Object is of type 'unknown'.
38-
lib/grunt/file.js(413,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
39-
lib/grunt/file.js(419,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
40-
lib/grunt/file.js(425,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
41-
lib/grunt/file.js(452,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
42-
lib/grunt/file.js(463,14): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
43-
lib/grunt/file.js(467,20): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
44-
lib/grunt/file.js(472,44): error TS2345: Argument of type 'string' is not assignable to parameter of type 'Type | null | undefined'.
45-
lib/grunt/file.js(477,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
28+
lib/grunt/file.js(336,7): error TS2367: This condition will always return 'false' since the types 'string | Buffer' and 'boolean' have no overlap.
29+
lib/grunt/file.js(347,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
30+
lib/grunt/file.js(349,29): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
31+
lib/grunt/file.js(364,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
32+
lib/grunt/file.js(368,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
33+
lib/grunt/file.js(382,75): error TS2571: Object is of type 'unknown'.
34+
lib/grunt/file.js(388,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
35+
lib/grunt/file.js(394,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
36+
lib/grunt/file.js(398,9): error TS2571: Object is of type 'unknown'.
37+
lib/grunt/file.js(402,85): error TS2571: Object is of type 'unknown'.
38+
lib/grunt/file.js(408,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
39+
lib/grunt/file.js(414,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
40+
lib/grunt/file.js(420,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
41+
lib/grunt/file.js(447,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
42+
lib/grunt/file.js(458,14): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
43+
lib/grunt/file.js(462,20): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
44+
lib/grunt/file.js(467,44): error TS2345: Argument of type 'string' is not assignable to parameter of type 'Type | null | undefined'.
45+
lib/grunt/file.js(472,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
4646
lib/grunt/help.js(58,40): error TS2339: Property 'cli' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
4747
lib/grunt/help.js(59,19): error TS2339: Property 'cli' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
4848
lib/grunt/help.js(81,9): error TS2551: Property 'task' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. Did you mean 'tasks'?

0 commit comments

Comments
 (0)