Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit de38263

Browse files
committedMay 3, 2022
Update user baselines +cc @sandersn
1 parent 78bf52e commit de38263

File tree

10 files changed

+97
-47
lines changed

10 files changed

+97
-47
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:
+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:

‎tests/baselines/reference/user/npm.log

+35-37
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ lib/commands/completion.js(59,26): error TS2345: Argument of type 'string | unde
5353
Type 'undefined' is not assignable to type 'string'.
5454
lib/commands/completion.js(60,26): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
5555
Type 'undefined' is not assignable to type 'string'.
56-
lib/commands/completion.js(220,9): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.
57-
lib/commands/completion.js(232,7): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.
56+
lib/commands/completion.js(220,9): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
57+
lib/commands/completion.js(232,7): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
5858
lib/commands/config.js(47,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Config'.
5959
lib/commands/config.js(104,9): error TS2339: Property 'warn' does not exist on type '{}'.
6060
lib/commands/config.js(109,9): error TS2339: Property 'disableProgress' does not exist on type '{}'.
6161
lib/commands/config.js(134,11): error TS2339: Property 'enableProgress' does not exist on type '{}'.
6262
lib/commands/config.js(145,11): error TS2339: Property 'info' does not exist on type '{}'.
6363
lib/commands/config.js(148,13): error TS2339: Property 'warn' does not exist on type '{}'.
64-
lib/commands/config.js(236,16): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.
64+
lib/commands/config.js(236,16): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
6565
lib/commands/dedupe.js(9,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Dedupe'.
6666
lib/commands/dedupe.js(27,10): error TS2339: Property 'code' does not exist on type 'Error'.
6767
lib/commands/deprecate.js(11,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Deprecate'.
@@ -83,24 +83,21 @@ lib/commands/dist-tag.js(170,11): error TS2339: Property 'error' does not exist
8383
lib/commands/dist-tag.js(178,24): error TS2532: Object is possibly 'undefined'.
8484
lib/commands/docs.js(8,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Docs'.
8585
lib/commands/docs.js(37,9): error TS2339: Property 'silly' does not exist on type '{}'.
86-
lib/commands/doctor.js(41,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Doctor'.
87-
lib/commands/doctor.js(46,9): error TS2339: Property 'info' does not exist on type '{}'.
88-
lib/commands/doctor.js(98,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'.
89-
lib/commands/doctor.js(98,36): error TS2538: Type 'any[]' cannot be used as an index type.
90-
lib/commands/doctor.js(100,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'.
91-
lib/commands/doctor.js(112,11): error TS2322: Type 'string | false | any[]' is not assignable to type 'boolean'.
92-
Type 'string' is not assignable to type 'boolean'.
93-
lib/commands/doctor.js(118,11): error TS2322: Type 'string | false | any[]' is not assignable to type 'boolean'.
94-
lib/commands/doctor.js(141,25): error TS2339: Property 'newItem' does not exist on type '{}'.
95-
lib/commands/doctor.js(147,27): error TS2571: Object is of type 'unknown'.
96-
lib/commands/doctor.js(148,15): error TS2571: Object is of type 'unknown'.
97-
lib/commands/doctor.js(148,40): error TS2571: Object is of type 'unknown'.
98-
lib/commands/doctor.js(150,15): error TS2571: Object is of type 'unknown'.
99-
lib/commands/doctor.js(158,25): error TS2339: Property 'newItem' does not exist on type '{}'.
100-
lib/commands/doctor.js(177,25): error TS2339: Property 'newItem' does not exist on type '{}'.
101-
lib/commands/doctor.js(207,25): error TS2339: Property 'newItem' does not exist on type '{}'.
102-
lib/commands/doctor.js(272,25): error TS2339: Property 'newItem' does not exist on type '{}'.
103-
lib/commands/doctor.js(285,25): error TS2339: Property 'newItem' does not exist on type '{}'.
86+
lib/commands/doctor.js(40,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Doctor'.
87+
lib/commands/doctor.js(45,9): error TS2339: Property 'info' does not exist on type '{}'.
88+
lib/commands/doctor.js(97,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'.
89+
lib/commands/doctor.js(97,36): error TS2538: Type 'any[]' cannot be used as an index type.
90+
lib/commands/doctor.js(99,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'.
91+
lib/commands/doctor.js(131,25): error TS2339: Property 'newItem' does not exist on type '{}'.
92+
lib/commands/doctor.js(137,27): error TS2571: Object is of type 'unknown'.
93+
lib/commands/doctor.js(138,15): error TS2571: Object is of type 'unknown'.
94+
lib/commands/doctor.js(138,40): error TS2571: Object is of type 'unknown'.
95+
lib/commands/doctor.js(140,15): error TS2571: Object is of type 'unknown'.
96+
lib/commands/doctor.js(148,25): error TS2339: Property 'newItem' does not exist on type '{}'.
97+
lib/commands/doctor.js(167,25): error TS2339: Property 'newItem' does not exist on type '{}'.
98+
lib/commands/doctor.js(197,25): error TS2339: Property 'newItem' does not exist on type '{}'.
99+
lib/commands/doctor.js(262,25): error TS2339: Property 'newItem' does not exist on type '{}'.
100+
lib/commands/doctor.js(275,25): error TS2339: Property 'newItem' does not exist on type '{}'.
104101
lib/commands/edit.js(34,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Edit'.
105102
lib/commands/exec.js(40,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Exec'.
106103
lib/commands/exec.js(51,24): error TS2525: Initializer provides no value for this binding element and the binding element has no default value.
@@ -131,7 +128,7 @@ lib/commands/help.js(134,35): error TS2769: No overload matches this call.
131128
Type 'string' is not assignable to type 'StdioOptions | undefined'.
132129
lib/commands/help.js(136,12): error TS2339: Property 'on' does not exist on type 'never'.
133130
The intersection 'ChildProcessWithoutNullStreams & ChildProcessByStdio<Writable, Readable, Readable> & ... 7 more ... & ChildProcess' was reduced to 'never' because property 'stdin' has conflicting types in some constituents.
134-
lib/commands/help.js(141,16): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.
131+
lib/commands/help.js(141,16): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
135132
lib/commands/hook.js(9,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Hook'.
136133
lib/commands/init.js(18,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Init'.
137134
lib/commands/init.js(129,9): error TS2339: Property 'pause' does not exist on type '{}'.
@@ -140,7 +137,7 @@ lib/commands/init.js(151,13): error TS2339: Property 'resume' does not exist on
140137
lib/commands/init.js(152,13): error TS2339: Property 'enableProgress' does not exist on type '{}'.
141138
lib/commands/init.js(153,13): error TS2339: Property 'silly' does not exist on type '{}'.
142139
lib/commands/init.js(155,15): error TS2339: Property 'warn' does not exist on type '{}'.
143-
lib/commands/init.js(156,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.
140+
lib/commands/init.js(156,18): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
144141
lib/commands/init.js(161,15): error TS2339: Property 'info' does not exist on type '{}'.
145142
lib/commands/install-ci-test.js(8,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'InstallCITest'.
146143
lib/commands/install-test.js(8,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'InstallTest'.
@@ -191,13 +188,13 @@ lib/commands/profile.js(331,9): error TS2339: Property 'info' does not exist on
191188
lib/commands/profile.js(361,9): error TS2339: Property 'info' does not exist on type '{}'.
192189
lib/commands/profile.js(395,9): error TS2339: Property 'info' does not exist on type '{}'.
193190
lib/commands/prune.js(8,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Prune'.
194-
lib/commands/publish.js(30,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Publish'.
195-
lib/commands/publish.js(52,9): error TS2339: Property 'verbose' does not exist on type '{}'.
196-
lib/commands/publish.js(106,13): error TS2339: Property 'warn' does not exist on type '{}'.
197-
lib/commands/publish.js(112,9): error TS2339: Property 'notice' does not exist on type '{}'.
198-
lib/commands/publish.js(158,37): error TS2532: Object is possibly 'undefined'.
199-
lib/commands/publish.js(163,13): error TS2571: Object is of type 'unknown'.
200-
lib/commands/publish.js(164,15): error TS2339: Property 'warn' does not exist on type '{}'.
191+
lib/commands/publish.js(29,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Publish'.
192+
lib/commands/publish.js(51,9): error TS2339: Property 'verbose' does not exist on type '{}'.
193+
lib/commands/publish.js(105,13): error TS2339: Property 'warn' does not exist on type '{}'.
194+
lib/commands/publish.js(111,9): error TS2339: Property 'notice' does not exist on type '{}'.
195+
lib/commands/publish.js(155,37): error TS2532: Object is possibly 'undefined'.
196+
lib/commands/publish.js(160,13): error TS2571: Object is of type 'unknown'.
197+
lib/commands/publish.js(161,15): error TS2339: Property 'warn' does not exist on type '{}'.
201198
lib/commands/rebuild.js(10,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Rebuild'.
202199
lib/commands/rebuild.js(24,33): error TS2554: Expected 0-1 arguments, but got 2.
203200
lib/commands/repo.js(10,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Repo'.
@@ -300,12 +297,13 @@ lib/npm.js(271,47): error TS2345: Argument of type '{ (value: any, replacer?: ((
300297
Types of parameters 'replacer' and 'index' are incompatible.
301298
Type 'number' is not assignable to type '(this: any, key: string, value: any) => any'.
302299
lib/npm.js(293,11): error TS2339: Property 'verbose' does not exist on type '{}'.
303-
lib/npm.js(434,7): error TS2322: Type 'string' is not assignable to type 'null'.
304-
lib/npm.js(436,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'.
305-
lib/npm.js(441,9): error TS2339: Property 'clearProgress' does not exist on type '{}'.
306-
lib/npm.js(444,9): error TS2339: Property 'showProgress' does not exist on type '{}'.
307-
lib/npm.js(448,9): error TS2339: Property 'clearProgress' does not exist on type '{}'.
308-
lib/npm.js(451,9): error TS2339: Property 'showProgress' does not exist on type '{}'.
300+
lib/npm.js(331,7): error TS2322: Type 'Chalk' is not assignable to type 'null'.
301+
lib/npm.js(445,7): error TS2322: Type 'string' is not assignable to type 'null'.
302+
lib/npm.js(447,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'.
303+
lib/npm.js(452,9): error TS2339: Property 'clearProgress' does not exist on type '{}'.
304+
lib/npm.js(455,9): error TS2339: Property 'showProgress' does not exist on type '{}'.
305+
lib/npm.js(459,9): error TS2339: Property 'clearProgress' does not exist on type '{}'.
306+
lib/npm.js(462,9): error TS2339: Property 'showProgress' does not exist on type '{}'.
309307
lib/search/format-package-stream.js(41,19): error TS2339: Property 'emit' does not exist on type 'JSONOutputStream'.
310308
lib/utils/audit-error.js(20,7): error TS2339: Property 'warn' does not exist on type '{}'.
311309
lib/utils/config/definition.js(43,52): error TS2339: Property 'default' does not exist on type 'Definition'.
@@ -395,7 +393,7 @@ lib/utils/log-file.js(236,11): error TS2339: Property 'silly' does not exist on
395393
lib/utils/log-file.js(242,15): error TS2339: Property 'silly' does not exist on type '{}'.
396394
lib/utils/log-file.js(246,11): error TS2339: Property 'warn' does not exist on type '{}'.
397395
lib/utils/log-file.js(248,11): error TS2339: Property 'silly' does not exist on type '{}'.
398-
lib/utils/open-url.js(49,14): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.
396+
lib/utils/open-url.js(49,14): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
399397
lib/utils/otplease.js(6,9): error TS2571: Object is of type 'unknown'.
400398
lib/utils/otplease.js(6,33): error TS2571: Object is of type 'unknown'.
401399
lib/utils/otplease.js(6,78): error TS2571: Object is of type 'unknown'.
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Exit Code: 2
2+
Standard output:
3+
node_modules/soap/lib/wsdl/index.d.ts(1,22): error TS7016: Could not find a declaration file for module 'sax'. '../../../tests/cases/user/soap/node_modules/sax/lib/sax.js' implicitly has an 'any' type.
4+
Try `npm i --save-dev @types/sax` if it exists or add a new declaration (.d.ts) file containing `declare module 'sax';`
5+
6+
7+
8+
Standard error:

‎tests/baselines/reference/user/uglify-js.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ node_modules/uglify-js/lib/compress.js(2298,42): error TS2532: Object is possibl
5555
node_modules/uglify-js/lib/compress.js(2298,54): error TS2365: Operator '+' cannot be applied to types 'number' and 'boolean'.
5656
node_modules/uglify-js/lib/compress.js(2311,25): error TS2322: Type 'boolean' is not assignable to type 'number'.
5757
node_modules/uglify-js/lib/compress.js(2315,25): error TS2322: Type 'boolean' is not assignable to type 'never'.
58-
node_modules/uglify-js/lib/compress.js(2316,35): error TS2339: Property 'single_use' does not exist on type 'never'.
58+
node_modules/uglify-js/lib/compress.js(2316,25): error TS2322: Type 'boolean' is not assignable to type 'never'.
5959
node_modules/uglify-js/lib/compress.js(2560,65): error TS2339: Property 'find_parent' does not exist on type 'TreeWalker'.
6060
node_modules/uglify-js/lib/compress.js(2563,45): error TS2554: Expected 0 arguments, but got 1.
6161
node_modules/uglify-js/lib/compress.js(2742,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.

‎tests/baselines/reference/user/vue.log

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Exit Code: 2
22
Standard output:
3-
node_modules/@vue/runtime-core/dist/runtime-core.d.ts(1826,33): error TS2344: Type 'HostElement' does not satisfy the constraint 'RendererElement'.
3+
node_modules/@babel/parser/typings/babel-parser.d.ts(14,23): error TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
4+
node_modules/@babel/parser/typings/babel-parser.d.ts(22,23): error TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
5+
node_modules/@vue/compiler-core/dist/compiler-core.d.ts(1,57): error TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
6+
node_modules/@vue/compiler-core/dist/compiler-core.d.ts(2,45): error TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
7+
node_modules/@vue/compiler-core/dist/compiler-core.d.ts(4,33): error TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
8+
node_modules/@vue/compiler-core/dist/compiler-core.d.ts(5,37): error TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
9+
node_modules/@vue/compiler-core/dist/compiler-core.d.ts(6,37): error TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
10+
node_modules/@vue/compiler-core/dist/compiler-core.d.ts(8,30): error TS2307: Cannot find module '@babel/types' or its corresponding type declarations.
411

512

613

‎tests/baselines/reference/user/vuex.log

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Exit Code: 2
22
Standard output:
3-
node_modules/@vue/runtime-core/dist/runtime-core.d.ts(1826,33): error TS2344: Type 'HostElement' does not satisfy the constraint 'RendererElement'.
3+
node_modules/vuex/types/helpers.d.ts(1,10): error TS2614: Module '"vue"' has no exported member 'ComponentPublicInstance'. Did you mean to use 'import ComponentPublicInstance from "vue"' instead?
4+
node_modules/vuex/types/index.d.ts(1,10): error TS2614: Module '"vue"' has no exported member 'App'. Did you mean to use 'import App from "vue"' instead?
5+
node_modules/vuex/types/index.d.ts(1,29): error TS2614: Module '"vue"' has no exported member 'InjectionKey'. Did you mean to use 'import InjectionKey from "vue"' instead?
6+
node_modules/vuex/types/vue.d.ts(5,10): error TS2614: Module '"vue"' has no exported member 'ComponentCustomOptions'. Did you mean to use 'import ComponentCustomOptions from "vue"' instead?
47

58

69

0 commit comments

Comments
 (0)
Please sign in to comment.