Skip to content

Commit

Permalink
Update user baselines +cc @sandersn
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed Jun 16, 2022
1 parent 78bf52e commit bf421b2
Show file tree
Hide file tree
Showing 7 changed files with 551 additions and 545 deletions.
5 changes: 4 additions & 1 deletion tests/baselines/reference/user/chrome-devtools-frontend.log
Expand Up @@ -11,7 +11,7 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(270,9): error TS2322:
Type 'void' is not assignable to type 'undefined'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(280,5): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(525,9): error TS2322: Type 'Window' is not assignable to type 'Window & typeof globalThis'.
Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 889 more.
Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 787 more.
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.
Type 'Window & typeof globalThis' provides no match for the signature 'new (): any'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(539,24): error TS2351: This expression is not constructable.
Expand Down Expand Up @@ -6130,6 +6130,9 @@ node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(266,32): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(271,14): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(272,33): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(277,14): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(281,32): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(285,14): error TS2339: Property 'createChild' does not exist on type 'Element'.



Expand Down
16 changes: 7 additions & 9 deletions tests/baselines/reference/user/enhanced-resolve.log
Expand Up @@ -6,22 +6,20 @@ node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(124,3): error TS2532:
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>'.
Type 'undefined' is not assignable to type 'Set<any>'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(127,18): error TS2769: No overload matches this call.
Overload 1 of 2, '(intervalId: Timeout): void', gave the following error.
Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'.
Type 'null' is not assignable to type 'Timeout'.
Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
Argument of type 'Timer | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
Type 'null' is not assignable to type 'string | number | Timeout | undefined'.
Overload 2 of 2, '(id?: number | undefined): void', gave the following error.
Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'.
Type 'null' is not assignable to type 'number | undefined'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(143,18): error TS2769: No overload matches this call.
Overload 1 of 2, '(intervalId: Timeout): void', gave the following error.
Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'.
Type 'null' is not assignable to type 'Timeout'.
Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
Argument of type 'Timer | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
Overload 2 of 2, '(id?: number | undefined): void', gave the following error.
Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(162,18): error TS2769: No overload matches this call.
Overload 1 of 2, '(intervalId: Timeout): void', gave the following error.
Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'.
Type 'null' is not assignable to type 'Timeout'.
Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error.
Argument of type 'Timer | null' is not assignable to parameter of type 'string | number | Timeout | undefined'.
Overload 2 of 2, '(id?: number | undefined): void', gave the following error.
Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'.
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(192,20): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
Expand Down
18 changes: 7 additions & 11 deletions tests/baselines/reference/user/follow-redirects.log
Expand Up @@ -25,17 +25,13 @@ node_modules/follow-redirects/index.js(205,8): error TS2339: Property 'on' does
node_modules/follow-redirects/index.js(206,8): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(207,8): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(266,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(302,16): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(346,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(361,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(385,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/follow-redirects/index.js(393,31): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/follow-redirects/index.js(396,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(422,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(433,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(555,25): error TS2339: Property 'code' does not exist on type 'Error'.
node_modules/follow-redirects/index.js(307,16): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(351,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(366,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(412,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(446,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(457,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(579,25): error TS2339: Property 'code' does not exist on type 'Error'.



Expand Down
36 changes: 18 additions & 18 deletions tests/baselines/reference/user/grunt.log
Expand Up @@ -25,24 +25,24 @@ lib/grunt/file.js(239,74): error TS2571: Object is of type 'unknown'.
lib/grunt/file.js(263,74): error TS2571: Object is of type 'unknown'.
lib/grunt/file.js(270,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(288,86): error TS2571: Object is of type 'unknown'.
lib/grunt/file.js(341,7): error TS2367: This condition will always return 'false' since the types 'string | Buffer' and 'boolean' have no overlap.
lib/grunt/file.js(352,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(354,29): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(369,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(373,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(387,75): error TS2571: Object is of type 'unknown'.
lib/grunt/file.js(393,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(399,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(403,9): error TS2571: Object is of type 'unknown'.
lib/grunt/file.js(407,85): error TS2571: Object is of type 'unknown'.
lib/grunt/file.js(413,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(419,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(425,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(452,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(463,14): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(467,20): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(472,44): error TS2345: Argument of type 'string' is not assignable to parameter of type 'Type | null | undefined'.
lib/grunt/file.js(477,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(336,7): error TS2367: This condition will always return 'false' since the types 'string | Buffer' and 'boolean' have no overlap.
lib/grunt/file.js(347,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(349,29): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(364,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(368,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(382,75): error TS2571: Object is of type 'unknown'.
lib/grunt/file.js(388,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(394,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(398,9): error TS2571: Object is of type 'unknown'.
lib/grunt/file.js(402,85): error TS2571: Object is of type 'unknown'.
lib/grunt/file.js(408,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(414,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(420,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(447,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/file.js(458,14): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(462,20): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/file.js(467,44): error TS2345: Argument of type 'string' is not assignable to parameter of type 'Type | null | undefined'.
lib/grunt/file.js(472,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
lib/grunt/help.js(58,40): error TS2339: Property 'cli' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
lib/grunt/help.js(59,19): error TS2339: Property 'cli' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
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'?
Expand Down

0 comments on commit bf421b2

Please sign in to comment.