Skip to content

Commit 102690d

Browse files
Update user baselines +cc @sandersn
1 parent 78bf52e commit 102690d

11 files changed

+112
-60
lines changed

tests/baselines/reference/user/adonis-framework.log

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ node_modules/adonis-framework/src/Env/index.js(54,15): error TS2304: Cannot find
6363
node_modules/adonis-framework/src/Env/index.js(56,15): error TS2304: Cannot find name 'Mixed'.
6464
node_modules/adonis-framework/src/Env/index.js(80,15): error TS2304: Cannot find name 'Mixed'.
6565
node_modules/adonis-framework/src/Event/index.js(13,21): error TS2307: Cannot find module 'adonis-fold' or its corresponding type declarations.
66-
node_modules/adonis-framework/src/Event/index.js(128,12): error TS2322: Type '() => {}[]' is not assignable to type 'any[]'.
66+
node_modules/adonis-framework/src/Event/index.js(128,12): error TS2740: Type '() => {}[]' is missing the following properties from type 'any[]': pop, push, concat, join, and 28 more.
6767
node_modules/adonis-framework/src/Event/index.js(153,25): error TS2339: Property 'wildcard' does not exist on type 'EventEmitter2'.
6868
node_modules/adonis-framework/src/Event/index.js(188,17): error TS2304: Cannot find name 'Spread'.
6969
node_modules/adonis-framework/src/Event/index.js(201,27): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'Spread[]'.
@@ -238,7 +238,7 @@ node_modules/adonis-framework/src/Session/index.js(265,12): error TS1359: Identi
238238
node_modules/adonis-framework/src/Session/index.js(267,15): error TS2304: Cannot find name 'Mixed'.
239239
node_modules/adonis-framework/src/Session/index.js(287,15): error TS2322: Type 'Generator<any, any, any>' is not assignable to type 'boolean'.
240240
node_modules/adonis-framework/src/Session/index.js(293,12): error TS2532: Object is possibly 'undefined'.
241-
node_modules/adonis-framework/src/Static/index.js(45,18): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.
241+
node_modules/adonis-framework/src/Static/index.js(45,18): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
242242
node_modules/adonis-framework/src/View/Form/index.js(75,11): error TS2532: Object is possibly 'undefined'.
243243
node_modules/adonis-framework/src/View/Form/index.js(115,15): error TS2304: Cannot find name 'Mixed'.
244244
node_modules/adonis-framework/src/View/Form/index.js(147,63): error TS2345: Argument of type 'string | any[]' is not assignable to parameter of type 'any[]'.

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

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Exit Code: null
22
Standard output:
3-
../../../../built/local/lib.es5.d.ts(1529,11): error TS2300: Duplicate identifier 'ArrayLike'.
3+
../../../../built/local/lib.es5.d.ts(1523,11): error TS2300: Duplicate identifier 'ArrayLike'.
44
../../../../node_modules/@types/node/globals.d.ts(34,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{}', but here has type 'NodeModule'.
55
node_modules/chrome-devtools-frontend/front_end/Runtime.js(43,8): error TS2339: Property '_importScriptPathPrefix' does not exist on type 'Window & typeof globalThis'.
66
node_modules/chrome-devtools-frontend/front_end/Runtime.js(77,16): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type.
@@ -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 873 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.
@@ -22,7 +22,7 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(705,5): error TS2322:
2222
node_modules/chrome-devtools-frontend/front_end/Runtime.js(715,7): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'.
2323
node_modules/chrome-devtools-frontend/front_end/Runtime.js(729,7): error TS2322: Type 'Promise<void>' is not assignable to type 'Promise<undefined>'.
2424
node_modules/chrome-devtools-frontend/front_end/Runtime.js(746,5): error TS2322: Type 'Window | {}' is not assignable to type 'Window'.
25-
Type '{}' is missing the following properties from type 'Window': clientInformation, closed, customElements, devicePixelRatio, and 193 more.
25+
Type '{}' is missing the following properties from type 'Window': clientInformation, closed, customElements, devicePixelRatio, and 192 more.
2626
node_modules/chrome-devtools-frontend/front_end/Runtime.js(1083,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
2727
node_modules/chrome-devtools-frontend/front_end/Runtime.js(1088,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
2828
node_modules/chrome-devtools-frontend/front_end/Tests.js(107,5): error TS2322: Type 'Timeout' is not assignable to type 'number'.
@@ -267,6 +267,7 @@ node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(778,
267267
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(811,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
268268
node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(7,11): error TS2339: Property 'AnimationScreenshotPopover' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
269269
node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(18,39): error TS2345: Argument of type 'new (width?: number, height?: number) => HTMLImageElement' is not assignable to parameter of type 'Node'.
270+
Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'Node': baseURI, childNodes, firstChild, isConnected, and 46 more.
270271
node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(19,13): error TS2339: Property 'style' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'.
271272
node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(22,21): error TS2339: Property 'style' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'.
272273
node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(23,45): error TS2339: Property 'createChild' does not exist on type 'Element'.
@@ -3442,8 +3443,6 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth
34423443
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(68410,39): error TS2339: Property 'height' does not exist on type 'constructor'.
34433444
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(69037,13): error TS2339: Property 'displayName' does not exist on type '(image: any, quality: any) => any'.
34443445
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(69550,21): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'.
3445-
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(70231,38): error TS2339: Property 'version' does not exist on type 'SemVer | {}'.
3446-
Property 'version' does not exist on type '{}'.
34473446
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(70747,4): error TS2531: Object is possibly 'null'.
34483447
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(70747,26): error TS2531: Object is possibly 'null'.
34493448
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(70753,6): error TS2531: Object is possibly 'null'.
@@ -6130,6 +6129,8 @@ node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js
61306129
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(266,32): error TS2339: Property 'createChild' does not exist on type 'Element'.
61316130
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(271,14): error TS2339: Property 'createChild' does not exist on type 'Element'.
61326131
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(272,33): error TS2339: Property 'createChild' does not exist on type 'Element'.
6132+
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(277,14): error TS2339: Property 'createChild' does not exist on type 'Element'.
6133+
node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(281,32): error TS2339: Property 'createChild' does not exist on type 'Element'.
61336134

61346135

61356136

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Exit Code: 2
2+
Standard output:
3+
node_modules/discord.js/typings/index.d.ts(52,30): error TS2307: Cannot find module 'node:child_process' or its corresponding type declarations.
4+
node_modules/discord.js/typings/index.d.ts(53,30): error TS2307: Cannot find module 'node:events' or its corresponding type declarations.
5+
node_modules/discord.js/typings/index.d.ts(54,30): error TS2307: Cannot find module 'node:https' or its corresponding type declarations.
6+
node_modules/discord.js/typings/index.d.ts(56,24): error TS2307: Cannot find module 'node:stream' or its corresponding type declarations.
7+
node_modules/discord.js/typings/index.d.ts(57,37): error TS2307: Cannot find module 'node:worker_threads' or its corresponding type declarations.
8+
node_modules/discord.js/typings/index.d.ts(658,28): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
9+
node_modules/discord.js/typings/index.d.ts(659,32): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
10+
node_modules/discord.js/typings/index.d.ts(1435,27): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
11+
node_modules/discord.js/typings/index.d.ts(2194,47): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
12+
node_modules/discord.js/typings/index.d.ts(2611,102): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
13+
node_modules/discord.js/typings/index.d.ts(2613,32): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
14+
node_modules/discord.js/typings/index.d.ts(2616,32): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
15+
16+
17+
18+
Standard error:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Exit Code: 2
2+
Standard output:
3+
index.ts(1,27): error TS2307: Cannot find module 'firebase' or its corresponding type declarations.
4+
5+
6+
7+
Standard error:

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ node_modules/follow-redirects/index.js(266,10): error TS2339: Property 'emit' do
2828
node_modules/follow-redirects/index.js(302,16): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
2929
node_modules/follow-redirects/index.js(346,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
3030
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'.
31+
node_modules/follow-redirects/index.js(396,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
3232
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'.
33+
node_modules/follow-redirects/index.js(404,31): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
3434
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'.
35+
node_modules/follow-redirects/index.js(407,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
36+
node_modules/follow-redirects/index.js(441,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
37+
node_modules/follow-redirects/index.js(452,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
38+
node_modules/follow-redirects/index.js(574,25): error TS2339: Property 'code' does not exist on type 'Error'.
3939

4040

4141

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Exit Code: 2
2+
Standard output:
3+
node_modules/mqtt/types/lib/client-options.d.ts(3,31): error TS7016: Could not find a declaration file for module 'ws'. '../../../tests/cases/user/mqtt/node_modules/ws/index.js' implicitly has an 'any' type.
4+
Try `npm i --save-dev @types/ws` if it exists or add a new declaration (.d.ts) file containing `declare module 'ws';`
5+
6+
7+
8+
Standard error:

0 commit comments

Comments
 (0)