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 ad8efd1

Browse files
committedDec 13, 2021
Update user baselines +cc @sandersn
1 parent 4305997 commit ad8efd1

29 files changed

+4668
-3868
lines changed
 

‎tests/baselines/reference/docker/azure-sdk.log

+295-113
Large diffs are not rendered by default.

‎tests/baselines/reference/docker/office-ui-fabric.log

+1,532-1,391
Large diffs are not rendered by default.
+20-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Exit Code: 0
1+
Exit Code: 1
22
Standard output:
33
yarn run vX.X.X
4-
$ node --max-old-space-size=3072 ./scripts/build/build.js
4+
$ node --max-old-space-size=4096 ./scripts/build/build.mjs
55
Building packages
66
index.js....................... DONE
77
doc.js......................... DONE
@@ -14,15 +14,25 @@ parser-typescript.js........... DONE
1414
parser-espree.js............... DONE
1515
parser-meriyah.js.............. DONE
1616
parser-angular.js.............. DONE
17-
parser-postcss.js.............. DONE
18-
esm/parser-postcss.mjs......... DONE
19-
parser-graphql.js.............. DONE
20-
parser-markdown.js............. DONE
21-
parser-glimmer.js.............. DONE
22-
parser-html.js................. DONE
23-
parser-yaml.js................. DONE
24-
Done in ?s.
17+
parser-postcss.js..............info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2518

2619

2720

2821
Standard error:
22+
Error: error:0308010C:digital envelope routines::unsupported
23+
at new Hash (node:internal/crypto/hash:67:19)
24+
at Object.createHash (node:crypto:130:10)
25+
at BulkUpdateDecorator.hashFactory (/prettier/node_modules/webpack/lib/util/createHash.js:145:18)
26+
at BulkUpdateDecorator.update (/prettier/node_modules/webpack/lib/util/createHash.js:46:50)
27+
at RawSource.updateHash (/prettier/node_modules/webpack-sources/lib/RawSource.js:77:8)
28+
at NormalModule._initBuildHash (/prettier/node_modules/webpack/lib/NormalModule.js:880:17)
29+
at handleParseResult (/prettier/node_modules/webpack/lib/NormalModule.js:946:10)
30+
at /prettier/node_modules/webpack/lib/NormalModule.js:1038:4
31+
at processResult (/prettier/node_modules/webpack/lib/NormalModule.js:755:11)
32+
at /prettier/node_modules/webpack/lib/NormalModule.js:819:5 {
33+
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
34+
library: 'digital envelope routines',
35+
reason: 'unsupported',
36+
code: 'ERR_OSSL_EVP_UNSUPPORTED'
37+
}
38+
error Command failed with exit code 1.

‎tests/baselines/reference/docker/xterm.js.log

+1-21
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,9 @@ Standard output:
33

44
> xterm@X.X.X build /xtermjs
55
> tsc -b ./tsconfig.all.json
6-
src/browser/Terminal2.test.ts(80,11): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
7-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
8-
The file is in the program because:
9-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
10-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
11-
The file is in the program because:
12-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
136
addons/xterm-addon-ligatures/src/font.ts(6,26): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
147
addons/xterm-addon-ligatures/src/font.ts(7,44): error TS2307: Cannot find module 'font-ligatures' or its corresponding type declarations.
15-
addons/xterm-addon-ligatures/src/font.ts(47,30): error TS2583: Cannot find name 'AsyncIterableIterator'. Do you need to change your target library? Try changing the `lib` compiler option to 'es2018' or later.
16-
addons/xterm-addon-ligatures/src/font.ts(62,38): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
8+
addons/xterm-addon-ligatures/src/font.ts(71,38): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
179
addons/xterm-addon-ligatures/src/index.ts(7,22): error TS2307: Cannot find module 'font-ligatures' or its corresponding type declarations.
1810
addons/xterm-addon-ligatures/src/index.ts(75,14): error TS2347: Untyped function calls may not accept type arguments.
1911
addons/xterm-addon-ligatures/src/index.ts(76,9): error TS7006: Parameter 'range' implicitly has an 'any' type.
@@ -24,18 +16,6 @@ addons/xterm-addon-ligatures/src/index.test.ts(10,32): error TS2307: Cannot find
2416
addons/xterm-addon-ligatures/src/index.test.ts(26,25): error TS2304: Cannot find name '__dirname'.
2517
addons/xterm-addon-ligatures/src/index.test.ts(33,25): error TS2304: Cannot find name '__dirname'.
2618
addons/xterm-addon-ligatures/src/index.test.ts(40,25): error TS2304: Cannot find name '__dirname'.
27-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
28-
The file is in the program because:
29-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
30-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
31-
The file is in the program because:
32-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
33-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
34-
The file is in the program because:
35-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
36-
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
37-
The file is in the program because:
38-
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
3919

4020

4121

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

+532-13
Large diffs are not rendered by default.

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

+11-10
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@ node_modules/adonis-framework/src/Config/index.js(39,15): error TS2304: Cannot f
3535
node_modules/adonis-framework/src/Config/index.js(58,15): error TS2304: Cannot find name 'Mixed'.
3636
node_modules/adonis-framework/src/Encryption/index.js(53,15): error TS2304: Cannot find name 'Mixed'.
3737
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: Encoding): string', gave the following error.
38+
Overload 1 of 4, '(data: ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string', gave the following error.
3939
Argument of type 'string' is not assignable to parameter of type 'undefined'.
40-
Overload 2 of 4, '(data: string, input_encoding: Encoding | undefined, output_encoding: Encoding): string', gave the following error.
40+
Overload 2 of 4, '(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string', gave the following error.
4141
Argument of type 'string' is not assignable to parameter of type 'Encoding | undefined'.
4242
node_modules/adonis-framework/src/Encryption/index.js(77,27): error TS2322: Type 'string' is not assignable to type 'Buffer'.
4343
node_modules/adonis-framework/src/Encryption/index.js(77,50): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
4444
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.
4545
node_modules/adonis-framework/src/Encryption/index.js(87,15): error TS2304: Cannot find name 'Mixed'.
4646
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.
47+
Overload 1 of 4, '(data: ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string', gave the following error.
4848
Argument of type '"base64"' is not assignable to parameter of type 'undefined'.
49-
Overload 2 of 4, '(data: string, input_encoding: Encoding | undefined, output_encoding: Encoding): string', gave the following error.
49+
Overload 2 of 4, '(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string', gave the following error.
5050
Argument of type 'string' is not assignable to parameter of type 'Encoding'.
5151
node_modules/adonis-framework/src/Encryption/index.js(102,5): error TS2322: Type 'string' is not assignable to type 'Buffer & string'.
5252
Type 'string' is not assignable to type 'Buffer'.
@@ -63,11 +63,11 @@ 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 TS2740: Type '() => {}[]' is missing the following properties from type 'any[]': pop, push, concat, join, and 27 more.
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'.
69-
node_modules/adonis-framework/src/Event/index.js(201,27): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
70-
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 26 more.
69+
node_modules/adonis-framework/src/Event/index.js(201,27): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'Spread[]'.
70+
Type 'IArguments' is missing the following properties from type 'Spread[]': pop, push, concat, join, and 27 more.
7171
node_modules/adonis-framework/src/Event/index.js(207,24): error TS2304: Cannot find name 'Sring'.
7272
node_modules/adonis-framework/src/Event/index.js(256,52): error TS2345: Argument of type 'Function' is not assignable to parameter of type 'Listener'.
7373
Type 'Function' provides no match for the signature '(...values: any[]): void'.
@@ -91,6 +91,7 @@ node_modules/adonis-framework/src/Exceptions/index.js(164,14): error TS1056: Acc
9191
node_modules/adonis-framework/src/Exceptions/index.js(178,21): error TS2554: Expected 0 arguments, but got 3.
9292
node_modules/adonis-framework/src/Exceptions/index.js(191,21): error TS2554: Expected 0 arguments, but got 3.
9393
node_modules/adonis-framework/src/Exceptions/index.js(205,21): error TS2554: Expected 0 arguments, but got 3.
94+
node_modules/adonis-framework/src/File/index.js(139,22): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'.
9495
node_modules/adonis-framework/src/File/index.js(175,5): error TS2322: Type 'Promise<any>' is not assignable to type 'boolean'.
9596
node_modules/adonis-framework/src/File/index.js(273,5): error TS2322: Type 'string | boolean' is not assignable to type 'boolean'.
9697
Type 'string' is not assignable to type 'boolean'.
@@ -141,7 +142,7 @@ node_modules/adonis-framework/src/Response/index.js(299,15): error TS2304: Canno
141142
node_modules/adonis-framework/src/Response/index.js(323,15): error TS2304: Cannot find name 'Mixed'.
142143
node_modules/adonis-framework/src/Route/ResourceCollection.js(39,11): error TS1359: Identifier expected. 'this' is a reserved word that cannot be used here.
143144
node_modules/adonis-framework/src/Route/ResourceCollection.js(43,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
144-
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 26 more.
145+
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 27 more.
145146
node_modules/adonis-framework/src/Route/ResourceCollection.js(56,31): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
146147
node_modules/adonis-framework/src/Route/ResourceMember.js(39,11): error TS1359: Identifier expected. 'this' is a reserved word that cannot be used here.
147148
node_modules/adonis-framework/src/Route/ResourceMember.js(43,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
@@ -166,7 +167,7 @@ node_modules/adonis-framework/src/Route/index.js(343,33): error TS2345: Argument
166167
node_modules/adonis-framework/src/Route/index.js(354,20): error TS2694: Namespace 'Route' has no exported member 'Group'.
167168
node_modules/adonis-framework/src/Route/index.js(368,3): error TS2322: Type 'null' is not assignable to type 'string'.
168169
node_modules/adonis-framework/src/Route/index.js(396,63): error TS2554: Expected 2 arguments, but got 3.
169-
node_modules/adonis-framework/src/Route/index.js(407,20): error TS2694: Namespace 'Route' has no exported member 'resources'.
170+
node_modules/adonis-framework/src/Route/index.js(407,14): error TS2749: 'Route.resources' refers to a value, but is being used as a type here. Did you mean 'typeof Route.resources'?
170171
node_modules/adonis-framework/src/Route/index.js(501,42): error TS2345: Argument of type 'boolean | undefined' is not assignable to parameter of type 'boolean'.
171172
Type 'undefined' is not assignable to type 'boolean'.
172173
node_modules/adonis-framework/src/Route/resource.js(92,25): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'.
@@ -183,7 +184,7 @@ node_modules/adonis-framework/src/Route/resource.js(209,45): error TS2345: Argum
183184
node_modules/adonis-framework/src/Route/resource.js(233,15): error TS2304: Cannot find name 'Mixed'.
184185
node_modules/adonis-framework/src/Route/resource.js(261,15): error TS2304: Cannot find name 'Mixed'.
185186
node_modules/adonis-framework/src/Route/resource.js(286,11): error TS1359: Identifier expected. 'this' is a reserved word that cannot be used here.
186-
node_modules/adonis-framework/src/Route/resource.js(290,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any, ...any[]]'.
187+
node_modules/adonis-framework/src/Route/resource.js(290,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[Mixed, ...any[]]'.
187188
node_modules/adonis-framework/src/Route/resource.js(296,15): error TS2304: Cannot find name 'Mixed'.
188189
node_modules/adonis-framework/src/Route/resource.js(314,62): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
189190
node_modules/adonis-framework/src/Server/helpers.js(17,29): error TS8024: JSDoc '@param' tag has name 'appNamespace', but there is no parameter with that name.

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

+15-11
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
Exit Code: 2
22
Standard output:
33
node_modules/assert/test.js(25,5): error TS2367: This condition will always return 'false' since the types 'string | undefined' and 'boolean' have no overlap.
4-
node_modules/assert/test.js(39,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
5-
node_modules/assert/test.js(55,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
6-
node_modules/assert/test.js(74,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
7-
node_modules/assert/test.js(84,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
8-
node_modules/assert/test.js(94,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
9-
node_modules/assert/test.js(103,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
10-
node_modules/assert/test.js(120,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
11-
node_modules/assert/test.js(128,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
4+
node_modules/assert/test.js(39,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
5+
node_modules/assert/test.js(55,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
6+
node_modules/assert/test.js(74,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
7+
node_modules/assert/test.js(84,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
8+
node_modules/assert/test.js(94,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
9+
node_modules/assert/test.js(103,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
10+
node_modules/assert/test.js(120,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
11+
node_modules/assert/test.js(128,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
1212
node_modules/assert/test.js(140,10): error TS2339: Property 'a' does not exist on type 'number[]'.
1313
node_modules/assert/test.js(141,10): error TS2339: Property 'b' does not exist on type 'number[]'.
1414
node_modules/assert/test.js(142,10): error TS2339: Property 'b' does not exist on type 'number[]'.
1515
node_modules/assert/test.js(143,10): error TS2339: Property 'a' does not exist on type 'number[]'.
16-
node_modules/assert/test.js(149,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
16+
node_modules/assert/test.js(149,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
1717
node_modules/assert/test.js(157,51): error TS2349: This expression is not callable.
1818
Type 'never' has no call signatures.
19-
node_modules/assert/test.js(161,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
20-
node_modules/assert/test.js(168,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig.
19+
node_modules/assert/test.js(161,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
20+
node_modules/assert/test.js(168,5): error TS2593: Cannot find name 'test'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.
2121
node_modules/assert/test.js(182,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
2222
node_modules/assert/test.js(229,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
2323
node_modules/assert/test.js(235,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
@@ -27,7 +27,11 @@ node_modules/assert/test.js(256,55): error TS2345: Argument of type 'TypeError'
2727
node_modules/assert/test.js(262,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
2828
node_modules/assert/test.js(279,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
2929
node_modules/assert/test.js(285,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
30+
node_modules/assert/test.js(290,24): error TS2571: Object is of type 'unknown'.
3031
node_modules/assert/test.js(320,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
32+
node_modules/assert/test.js(329,22): error TS2571: Object is of type 'unknown'.
33+
node_modules/assert/test.js(336,22): error TS2571: Object is of type 'unknown'.
34+
node_modules/assert/test.js(342,22): error TS2571: Object is of type 'unknown'.
3135
node_modules/assert/test.js(346,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
3236

3337

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

+3-311
Large diffs are not rendered by default.

‎tests/baselines/reference/user/axios-src.log

-59
This file was deleted.

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

+8-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ node_modules/bluebird/js/release/bluebird.js(5,15): error TS2367: This condition
55
node_modules/bluebird/js/release/bluebird.js(10,10): error TS2339: Property 'noConflict' does not exist on type 'typeof Promise'.
66
node_modules/bluebird/js/release/debuggability.js(225,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'event' must be of type 'CustomEvent<any>', but here has type 'Event'.
77
node_modules/bluebird/js/release/debuggability.js(232,26): error TS2339: Property 'detail' does not exist on type 'Event'.
8-
node_modules/bluebird/js/release/debuggability.js(258,48): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: "multipleResolves", listener: MultipleResolveListener]'.
8+
node_modules/bluebird/js/release/debuggability.js(258,48): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[event: "worker", listener: WorkerListener]'.
99
node_modules/bluebird/js/release/debuggability.js(301,9): error TS2322: Type 'Process' is not assignable to type 'boolean'.
1010
node_modules/bluebird/js/release/debuggability.js(301,28): error TS2684: The 'this' context of type '((...args: any[]) => Process) | ((name: any, ...args: any[]) => boolean)' is not assignable to method's 'this' of type '(this: null, args_0?: any, ...args_1: any[]) => Process'.
1111
Type '(name: any, ...args: any[]) => boolean' is not assignable to type '(this: null, args_0?: any, ...args_1: any[]) => Process'.
@@ -18,6 +18,8 @@ node_modules/bluebird/js/release/debuggability.js(807,5): error TS2721: Cannot i
1818
node_modules/bluebird/js/release/debuggability.js(825,30): error TS2339: Property 'stack' does not exist on type 'CapturedTrace'.
1919
node_modules/bluebird/js/release/debuggability.js(831,37): error TS2339: Property 'stack' does not exist on type 'CapturedTrace'.
2020
node_modules/bluebird/js/release/debuggability.js(870,38): error TS2339: Property 'stack' does not exist on type 'CapturedTrace'.
21+
node_modules/bluebird/js/release/debuggability.js(922,42): error TS2571: Object is of type 'unknown'.
22+
node_modules/bluebird/js/release/debuggability.js(931,34): error TS2571: Object is of type 'unknown'.
2123
node_modules/bluebird/js/release/debuggability.js(950,4): error TS2554: Expected 0 arguments, but got 1.
2224
node_modules/bluebird/js/release/errors.js(10,49): error TS2350: Only a void function can be called with the 'new' keyword.
2325
node_modules/bluebird/js/release/finally.js(50,24): error TS2339: Property 'promise' does not exist on type 'finallyHandler'.
@@ -50,10 +52,11 @@ node_modules/bluebird/js/release/nodeify.js(32,19): error TS2339: Property 'caus
5052
node_modules/bluebird/js/release/promise.js(4,12): error TS2350: Only a void function can be called with the 'new' keyword.
5153
node_modules/bluebird/js/release/promise.js(7,24): error TS2339: Property 'PromiseInspection' does not exist on type 'typeof Promise'.
5254
node_modules/bluebird/js/release/promise.js(10,27): error TS2350: Only a void function can be called with the 'new' keyword.
55+
node_modules/bluebird/js/release/promise.js(18,26): error TS2339: Property 'domain' does not exist on type 'Process'.
5356
node_modules/bluebird/js/release/promise.js(38,20): error TS2531: Object is possibly 'null'.
54-
node_modules/bluebird/js/release/promise.js(44,5): error TS2322: Type '() => { domain: Domain | null; async: AsyncResource; }' is not assignable to type '(() => null) | (() => { domain: Domain | null; async: null; })'.
55-
Type '() => { domain: Domain | null; async: AsyncResource; }' is not assignable to type '() => null'.
56-
Type '{ domain: NodeJS.Domain | null; async: AsyncResource; }' is not assignable to type 'null'.
57+
node_modules/bluebird/js/release/promise.js(44,5): error TS2322: Type '() => { domain: any; async: AsyncResource; }' is not assignable to type '(() => null) | (() => { domain: any; async: null; })'.
58+
Type '() => { domain: any; async: AsyncResource; }' is not assignable to type '() => null'.
59+
Type '{ domain: any; async: AsyncResource; }' is not assignable to type 'null'.
5760
node_modules/bluebird/js/release/promise.js(86,15): error TS2350: Only a void function can be called with the 'new' keyword.
5861
node_modules/bluebird/js/release/promise.js(89,15): error TS2350: Only a void function can be called with the 'new' keyword.
5962
node_modules/bluebird/js/release/promise.js(104,10): error TS2339: Property '_promiseCreated' does not exist on type 'Promise'.
@@ -178,6 +181,7 @@ node_modules/bluebird/js/release/using.js(78,20): error TS2339: Property 'doDisp
178181
node_modules/bluebird/js/release/using.js(92,14): error TS2339: Property 'constructor$' does not exist on type 'FunctionDisposer'.
179182
node_modules/bluebird/js/release/using.js(97,23): error TS2339: Property 'data' does not exist on type 'FunctionDisposer'.
180183
node_modules/bluebird/js/release/using.js(223,15): error TS2350: Only a void function can be called with the 'new' keyword.
184+
node_modules/bluebird/js/release/util.js(18,9): error TS2322: Type 'unknown' is not assignable to type '{}'.
181185
node_modules/bluebird/js/release/util.js(405,13): error TS2532: Object is possibly 'undefined'.
182186
node_modules/bluebird/js/release/util.js(405,33): error TS2532: Object is possibly 'undefined'.
183187
node_modules/bluebird/js/release/util.js(405,54): error TS2532: Object is possibly 'undefined'.

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

+1,245-1,324
Large diffs are not rendered by default.

‎tests/baselines/reference/user/create-react-app.log

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
Exit Code: 2
22
Standard output:
33
test/fixtures/issue-5176-flow-class-properties/src/App.js(5,8): error TS8010: Type annotations can only be used in TypeScript files.
4-
test/fixtures/issue-5176-flow-class-properties/src/App.js(5,13): error TS1005: ';' expected.
5-
test/fixtures/webpack-message-formatting/src/AppBabel.js(6,8): error TS17008: JSX element 'div' has no corresponding closing tag.
6-
test/fixtures/webpack-message-formatting/src/AppBabel.js(8,7): error TS17002: Expected corresponding JSX closing tag for 'span'.
7-
test/fixtures/webpack-message-formatting/src/AppBabel.js(10,3): error TS1381: Unexpected token. Did you mean `{'}'}` or `&rbrace;`?
8-
test/fixtures/webpack-message-formatting/src/AppBabel.js(11,1): error TS1381: Unexpected token. Did you mean `{'}'}` or `&rbrace;`?
9-
test/fixtures/webpack-message-formatting/src/AppBabel.js(14,1): error TS1005: '</' expected.
4+
test/fixtures/issue-5176-flow-class-properties/src/App.js(5,13): error TS1442: Expected '=' for property initializer.
5+
test/fixtures/webpack-message-formatting/src/AppBabel.js(7,10): error TS17008: JSX element 'span' has no corresponding closing tag.
106

117

128

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

+12-13
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,28 @@ node_modules/debug/src/browser.js(34,74): error TS2339: Property 'type' does not
66
node_modules/debug/src/browser.js(34,112): error TS2339: Property '__nwjs' does not exist on type 'Process'.
77
node_modules/debug/src/browser.js(45,138): error TS2551: Property 'WebkitAppearance' does not exist on type 'CSSStyleDeclaration'. Did you mean 'webkitAppearance'?
88
node_modules/debug/src/browser.js(46,70): error TS2339: Property 'firebug' does not exist on type 'Console'.
9-
node_modules/debug/src/browser.js(46,81): error TS2774: This condition will always return true since this function appears to always be defined. Did you mean to call it instead?
9+
node_modules/debug/src/browser.js(46,96): error TS2339: Property 'exception' does not exist on type 'Console'.
1010
node_modules/debug/src/browser.js(100,148): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[message?: any, ...optionalParams: any[]]'.
11-
node_modules/debug/src/browser.js(152,13): error TS2304: Cannot find name 'LocalStorage'.
12-
node_modules/debug/src/common.js(51,24): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
13-
node_modules/debug/src/common.js(51,60): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
11+
node_modules/debug/src/browser.js(152,13): error TS2552: Cannot find name 'LocalStorage'. Did you mean 'localstorage'?
12+
node_modules/debug/src/browser.js(177,45): error TS2571: Object is of type 'unknown'.
13+
node_modules/debug/src/common.js(51,24): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: Mixed) => Mixed; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
14+
node_modules/debug/src/common.js(51,60): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: Mixed) => Mixed; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
1415
node_modules/debug/src/common.js(80,12): error TS2339: Property 'diff' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'.
1516
node_modules/debug/src/common.js(81,12): error TS2339: Property 'prev' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'.
1617
node_modules/debug/src/common.js(82,12): error TS2339: Property 'curr' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'.
17-
node_modules/debug/src/common.js(113,19): error TS2551: Property 'formatArgs' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. Did you mean 'formatters'?
18+
node_modules/debug/src/common.js(113,19): error TS2551: Property 'formatArgs' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: Mixed) => Mixed; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. Did you mean 'formatters'?
1819
node_modules/debug/src/common.js(114,24): error TS2339: Property 'log' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'.
19-
node_modules/debug/src/common.js(114,43): error TS2339: Property 'log' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
20-
node_modules/debug/src/common.js(120,35): error TS2339: Property 'useColors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
21-
node_modules/debug/src/common.js(127,28): error TS2339: Property 'init' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
22-
node_modules/debug/src/common.js(128,19): error TS2339: Property 'init' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
23-
node_modules/debug/src/common.js(159,17): error TS2339: Property 'save' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
20+
node_modules/debug/src/common.js(114,43): error TS2339: Property 'log' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: Mixed) => Mixed; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
21+
node_modules/debug/src/common.js(120,35): error TS2339: Property 'useColors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: Mixed) => Mixed; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
22+
node_modules/debug/src/common.js(127,28): error TS2339: Property 'init' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: Mixed) => Mixed; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
23+
node_modules/debug/src/common.js(128,19): error TS2339: Property 'init' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: Mixed) => Mixed; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
24+
node_modules/debug/src/common.js(159,17): error TS2339: Property 'save' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: Mixed) => Mixed; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
2425
node_modules/debug/src/common.js(230,13): error TS2304: Cannot find name 'Mixed'.
2526
node_modules/debug/src/common.js(231,14): error TS2304: Cannot find name 'Mixed'.
26-
node_modules/debug/src/common.js(244,34): error TS2339: Property 'load' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
27+
node_modules/debug/src/common.js(244,34): error TS2339: Property 'load' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: Mixed) => Mixed; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'.
2728
node_modules/debug/src/index.js(7,47): error TS2339: Property 'type' does not exist on type 'Process'.
2829
node_modules/debug/src/index.js(7,78): error TS2339: Property 'browser' does not exist on type 'Process'.
2930
node_modules/debug/src/index.js(7,106): error TS2339: Property '__nwjs' does not exist on type 'Process'.
30-
node_modules/debug/src/node.js(24,1): error TS2323: Cannot redeclare exported variable 'colors'.
31-
node_modules/debug/src/node.js(32,5): error TS2323: Cannot redeclare exported variable 'colors'.
3231
node_modules/debug/src/node.js(53,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
3332
Type 'undefined' is not assignable to type 'string'.
3433
node_modules/debug/src/node.js(54,5): error TS2322: Type 'true' is not assignable to type 'string | undefined'.

‎tests/baselines/reference/user/discord.js.log

+11-17
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
11
Exit Code: 2
22
Standard output:
3-
node_modules/discord.js/typings/index.d.ts(18,30): error TS7016: Could not find a declaration file for module 'ws'. '../../../tests/cases/user/discord.js/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-
node_modules/discord.js/typings/index.d.ts(122,35): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
6-
node_modules/discord.js/typings/index.d.ts(123,36): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
7-
node_modules/discord.js/typings/index.d.ts(124,37): error TS2694: Namespace 'NodeJS' has no exported member 'Immediate'.
8-
node_modules/discord.js/typings/index.d.ts(131,43): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
9-
node_modules/discord.js/typings/index.d.ts(132,41): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
10-
node_modules/discord.js/typings/index.d.ts(133,43): error TS2694: Namespace 'NodeJS' has no exported member 'Immediate'.
11-
node_modules/discord.js/typings/index.d.ts(135,93): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
12-
node_modules/discord.js/typings/index.d.ts(136,92): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
13-
node_modules/discord.js/typings/index.d.ts(137,79): error TS2694: Namespace 'NodeJS' has no exported member 'Immediate'.
14-
node_modules/discord.js/typings/index.d.ts(283,30): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
15-
node_modules/discord.js/typings/index.d.ts(284,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
16-
node_modules/discord.js/typings/index.d.ts(1805,103): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
17-
node_modules/discord.js/typings/index.d.ts(1807,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
18-
node_modules/discord.js/typings/index.d.ts(1810,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
19-
node_modules/discord.js/typings/index.d.ts(3155,21): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
3+
node_modules/discord.js/typings/index.d.ts(51,30): error TS2307: Cannot find module 'node:child_process' or its corresponding type declarations.
4+
node_modules/discord.js/typings/index.d.ts(52,30): error TS2307: Cannot find module 'node:events' or its corresponding type declarations.
5+
node_modules/discord.js/typings/index.d.ts(53,30): error TS2307: Cannot find module 'node:https' or its corresponding type declarations.
6+
node_modules/discord.js/typings/index.d.ts(55,24): error TS2307: Cannot find module 'node:stream' or its corresponding type declarations.
7+
node_modules/discord.js/typings/index.d.ts(56,37): error TS2307: Cannot find module 'node:worker_threads' or its corresponding type declarations.
8+
node_modules/discord.js/typings/index.d.ts(578,28): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
9+
node_modules/discord.js/typings/index.d.ts(579,32): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
10+
node_modules/discord.js/typings/index.d.ts(1268,27): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
11+
node_modules/discord.js/typings/index.d.ts(2343,102): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
12+
node_modules/discord.js/typings/index.d.ts(2345,32): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
13+
node_modules/discord.js/typings/index.d.ts(2348,32): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'.
2014

2115

2216

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

+8-6
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(125,23): error TS2345
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.
99
Overload 1 of 2, '(intervalId: Timeout): void', gave the following error.
10-
Argument of type 'Timeout | null' is not assignable to parameter of type 'Timeout'.
10+
Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'.
1111
Type 'null' is not assignable to type 'Timeout'.
1212
Overload 2 of 2, '(handle?: number | undefined): void', gave the following error.
13-
Argument of type 'Timeout | null' is not assignable to parameter of type 'number | undefined'.
13+
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.
1616
Overload 1 of 2, '(intervalId: Timeout): void', gave the following error.
17-
Argument of type 'Timeout | null' is not assignable to parameter of type 'Timeout'.
17+
Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'.
1818
Type 'null' is not assignable to type 'Timeout'.
1919
Overload 2 of 2, '(handle?: number | undefined): void', gave the following error.
20-
Argument of type 'Timeout | null' is not assignable to parameter of type 'number | undefined'.
20+
Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'.
2121
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(162,18): error TS2769: No overload matches this call.
2222
Overload 1 of 2, '(intervalId: Timeout): void', gave the following error.
23-
Argument of type 'Timeout | null' is not assignable to parameter of type 'Timeout'.
23+
Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'.
2424
Type 'null' is not assignable to type 'Timeout'.
2525
Overload 2 of 2, '(handle?: number | undefined): void', gave the following error.
26-
Argument of type 'Timeout | null' is not assignable to parameter of type 'number | undefined'.
26+
Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'.
2727
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(192,20): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
2828
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(197,24): error TS2322: Type 'null' is not assignable to type '(path: any) => any'.
2929
node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(202,23): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'.
@@ -43,6 +43,8 @@ node_modules/enhanced-resolve/lib/Resolver.js(262,20): error TS2339: Property 'r
4343
node_modules/enhanced-resolve/lib/RootPlugin.js(9,36): error TS2694: Namespace 'Resolver' has no exported member 'ResolveStepHook'.
4444
node_modules/enhanced-resolve/lib/concord.js(80,30): error TS2531: Object is possibly 'null'.
4545
node_modules/enhanced-resolve/lib/concord.js(81,17): error TS2531: Object is possibly 'null'.
46+
node_modules/enhanced-resolve/lib/concord.js(149,24): error TS2339: Property 'replace' does not exist on type 'never'.
47+
node_modules/enhanced-resolve/lib/concord.js(188,17): error TS2339: Property 'replace' does not exist on type 'never'.
4648

4749

4850

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

+33-24
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,41 @@
11
Exit Code: 2
22
Standard output:
3-
node_modules/follow-redirects/index.js(38,17): error TS2345: Argument of type 'this' is not assignable to parameter of type 'Writable'.
3+
node_modules/follow-redirects/index.js(39,17): error TS2345: Argument of type 'this' is not assignable to parameter of type 'Writable'.
44
Type 'RedirectableRequest' is missing the following properties from type 'Writable': writable, writableEnded, writableFinished, writableHighWaterMark, and 27 more.
5-
node_modules/follow-redirects/index.js(50,10): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
6-
node_modules/follow-redirects/index.js(71,8): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
7-
node_modules/follow-redirects/index.js(72,8): error TS2339: Property 'removeAllListeners' does not exist on type 'RedirectableRequest'.
8-
node_modules/follow-redirects/index.js(107,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
9-
node_modules/follow-redirects/index.js(156,10): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
10-
node_modules/follow-redirects/index.js(161,14): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
11-
node_modules/follow-redirects/index.js(162,25): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
12-
node_modules/follow-redirects/index.js(164,10): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
13-
node_modules/follow-redirects/index.js(165,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
14-
node_modules/follow-redirects/index.js(174,12): error TS2339: Property 'removeListener' does not exist on type 'RedirectableRequest'.
15-
node_modules/follow-redirects/index.js(182,12): error TS2339: Property 'socket' does not exist on type 'RedirectableRequest'.
16-
node_modules/follow-redirects/index.js(189,8): error TS2339: Property 'once' does not exist on type 'RedirectableRequest'.
17-
node_modules/follow-redirects/index.js(190,8): error TS2339: Property 'once' does not exist on type 'RedirectableRequest'.
18-
node_modules/follow-redirects/index.js(249,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
19-
node_modules/follow-redirects/index.js(288,16): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
20-
node_modules/follow-redirects/index.js(338,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
21-
node_modules/follow-redirects/index.js(360,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
5+
node_modules/follow-redirects/index.js(51,10): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
6+
node_modules/follow-redirects/index.js(67,8): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
7+
node_modules/follow-redirects/index.js(102,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
8+
node_modules/follow-redirects/index.js(160,14): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
9+
node_modules/follow-redirects/index.js(161,25): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
10+
node_modules/follow-redirects/index.js(163,10): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
11+
node_modules/follow-redirects/index.js(164,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
12+
node_modules/follow-redirects/index.js(173,14): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
13+
node_modules/follow-redirects/index.js(174,25): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
14+
node_modules/follow-redirects/index.js(175,12): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
15+
node_modules/follow-redirects/index.js(179,10): error TS2339: Property 'removeListener' does not exist on type 'RedirectableRequest'.
16+
node_modules/follow-redirects/index.js(180,10): error TS2339: Property 'removeListener' does not exist on type 'RedirectableRequest'.
17+
node_modules/follow-redirects/index.js(181,10): error TS2339: Property 'removeListener' does not exist on type 'RedirectableRequest'.
18+
node_modules/follow-redirects/index.js(183,12): error TS2339: Property 'removeListener' does not exist on type 'RedirectableRequest'.
19+
node_modules/follow-redirects/index.js(185,15): error TS2339: Property 'socket' does not exist on type 'RedirectableRequest'.
20+
node_modules/follow-redirects/index.js(192,10): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
21+
node_modules/follow-redirects/index.js(196,12): error TS2339: Property 'socket' does not exist on type 'RedirectableRequest'.
22+
node_modules/follow-redirects/index.js(197,21): error TS2339: Property 'socket' does not exist on type 'RedirectableRequest'.
23+
node_modules/follow-redirects/index.js(204,8): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
24+
node_modules/follow-redirects/index.js(205,8): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
25+
node_modules/follow-redirects/index.js(206,8): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
26+
node_modules/follow-redirects/index.js(207,8): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
27+
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(350,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
30+
node_modules/follow-redirects/index.js(374,37): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
2231
Type 'undefined' is not assignable to type 'string'.
23-
node_modules/follow-redirects/index.js(363,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
32+
node_modules/follow-redirects/index.js(382,33): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
2433
Type 'undefined' is not assignable to type 'string'.
25-
node_modules/follow-redirects/index.js(381,14): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
26-
node_modules/follow-redirects/index.js(393,13): error TS2339: Property 'cause' does not exist on type 'CustomError'.
27-
node_modules/follow-redirects/index.js(394,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
28-
node_modules/follow-redirects/index.js(401,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
29-
node_modules/follow-redirects/index.js(519,25): error TS2339: Property 'code' does not exist on type 'Error'.
34+
node_modules/follow-redirects/index.js(385,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
35+
node_modules/follow-redirects/index.js(407,14): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
36+
node_modules/follow-redirects/index.js(418,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
37+
node_modules/follow-redirects/index.js(425,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
38+
node_modules/follow-redirects/index.js(550,25): error TS2339: Property 'code' does not exist on type 'Error'.
3039

3140

3241

‎tests/baselines/reference/user/fp-ts.log

-40
This file was deleted.

‎tests/baselines/reference/user/graceful-fs.log

+12-9
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,23 @@ node_modules/graceful-fs/clone.js(16,9): error TS2403: Subsequent variable decla
44
node_modules/graceful-fs/clone.js(19,38): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType<any>'.
55
Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType<any>'.
66
Type 'undefined' is not assignable to type 'PropertyDescriptor'.
7-
node_modules/graceful-fs/graceful-fs.js(34,3): error TS2322: Type '(msg: string, ...param: any[]) => void' is not assignable to type '() => void'.
7+
node_modules/graceful-fs/graceful-fs.js(34,3): error TS2322: Type 'DebugLogger' is not assignable to type '() => void'.
88
node_modules/graceful-fs/graceful-fs.js(37,37): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[format?: any, ...param: any[]]'.
99
node_modules/graceful-fs/graceful-fs.js(52,3): error TS2741: Property '__promisify__' is missing in type '(fd: any, cb: any) => void' but required in type 'typeof close'.
1010
node_modules/graceful-fs/graceful-fs.js(74,30): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[fd: number]'.
1111
node_modules/graceful-fs/graceful-fs.js(86,13): error TS2554: Expected 0 arguments, but got 1.
1212
node_modules/graceful-fs/graceful-fs.js(97,54): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'.
1313
node_modules/graceful-fs/graceful-fs.js(99,8): error TS2339: Property '__patched' does not exist on type 'typeof import("fs")'.
14-
node_modules/graceful-fs/graceful-fs.js(226,5): error TS2629: Cannot assign to 'ReadStream' because it is a class.
15-
node_modules/graceful-fs/graceful-fs.js(227,5): error TS2629: Cannot assign to 'WriteStream' because it is a class.
16-
node_modules/graceful-fs/graceful-fs.js(247,7): error TS2629: Cannot assign to 'ReadStream' because it is a class.
17-
node_modules/graceful-fs/graceful-fs.js(257,7): error TS2629: Cannot assign to 'WriteStream' because it is a class.
18-
node_modules/graceful-fs/graceful-fs.js(291,68): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'.
19-
node_modules/graceful-fs/graceful-fs.js(314,70): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'.
20-
node_modules/graceful-fs/graceful-fs.js(363,9): error TS2554: Expected 0 arguments, but got 3.
21-
node_modules/graceful-fs/graceful-fs.js(370,11): error TS2554: Expected 0 arguments, but got 3.
14+
node_modules/graceful-fs/graceful-fs.js(217,5): error TS2629: Cannot assign to 'ReadStream' because it is a class.
15+
node_modules/graceful-fs/graceful-fs.js(218,5): error TS2629: Cannot assign to 'WriteStream' because it is a class.
16+
node_modules/graceful-fs/graceful-fs.js(238,7): error TS2629: Cannot assign to 'ReadStream' because it is a class.
17+
node_modules/graceful-fs/graceful-fs.js(248,7): error TS2629: Cannot assign to 'WriteStream' because it is a class.
18+
node_modules/graceful-fs/graceful-fs.js(282,68): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'.
19+
node_modules/graceful-fs/graceful-fs.js(305,70): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[any?, any?, ...any[]]'.
20+
node_modules/graceful-fs/graceful-fs.js(353,9): error TS2554: Expected 0 arguments, but got 3.
21+
node_modules/graceful-fs/graceful-fs.js(397,11): error TS2554: Expected 0 arguments, but got 3.
22+
node_modules/graceful-fs/graceful-fs.js(401,11): error TS2554: Expected 0 arguments, but got 3.
23+
node_modules/graceful-fs/graceful-fs.js(416,13): error TS2554: Expected 0 arguments, but got 3.
2224
node_modules/graceful-fs/legacy-streams.js(14,17): error TS2345: Argument of type 'this' is not assignable to parameter of type 'Stream'.
2325
Type 'ReadStream' is missing the following properties from type 'Stream': pipe, addListener, on, once, and 12 more.
2426
node_modules/graceful-fs/legacy-streams.js(36,14): error TS2339: Property 'encoding' does not exist on type 'ReadStream'.
@@ -39,6 +41,7 @@ node_modules/graceful-fs/legacy-streams.js(99,36): error TS2339: Property 'start
3941
node_modules/graceful-fs/legacy-streams.js(102,16): error TS2339: Property 'start' does not exist on type 'WriteStream'.
4042
node_modules/graceful-fs/legacy-streams.js(106,23): error TS2339: Property 'start' does not exist on type 'WriteStream'.
4143
node_modules/graceful-fs/legacy-streams.js(115,12): error TS2339: Property 'flush' does not exist on type 'WriteStream'.
44+
node_modules/graceful-fs/polyfills.js(149,13): error TS2571: Object is of type 'unknown'.
4245

4346

4447

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

+14-1
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,27 @@ lib/grunt/fail.js(28,35): error TS2339: Property 'red' does not exist on type 's
1414
lib/grunt/fail.js(35,13): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
1515
lib/grunt/fail.js(61,14): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
1616
lib/grunt/file.js(35,39): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
17-
Type 'IArguments' is missing the following properties from type 'string[]': pop, push, concat, join, and 26 more.
17+
Type 'IArguments' is missing the following properties from type 'string[]': pop, push, concat, join, and 27 more.
1818
lib/grunt/file.js(87,33): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[options?: any, patterns?: any, filepaths?: any]'.
1919
lib/grunt/file.js(182,13): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
20+
lib/grunt/file.js(186,91): error TS2571: Object is of type 'unknown'.
21+
lib/grunt/file.js(224,85): error TS2571: Object is of type 'unknown'.
2022
lib/grunt/file.js(234,25): error TS2345: Argument of type 'string | Buffer' is not assignable to parameter of type 'string'.
2123
Type 'Buffer' is not assignable to type 'string'.
24+
lib/grunt/file.js(239,74): error TS2571: Object is of type 'unknown'.
25+
lib/grunt/file.js(263,74): error TS2571: Object is of type 'unknown'.
2226
lib/grunt/file.js(270,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
27+
lib/grunt/file.js(288,86): error TS2571: Object is of type 'unknown'.
2328
lib/grunt/file.js(333,7): error TS2367: This condition will always return 'false' since the types 'string | Buffer' and 'boolean' have no overlap.
2429
lib/grunt/file.js(344,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
2530
lib/grunt/file.js(346,29): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
2631
lib/grunt/file.js(361,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
2732
lib/grunt/file.js(365,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
33+
lib/grunt/file.js(379,75): error TS2571: Object is of type 'unknown'.
2834
lib/grunt/file.js(385,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
2935
lib/grunt/file.js(391,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
36+
lib/grunt/file.js(395,9): error TS2571: Object is of type 'unknown'.
37+
lib/grunt/file.js(399,85): error TS2571: Object is of type 'unknown'.
3038
lib/grunt/file.js(405,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
3139
lib/grunt/file.js(411,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
3240
lib/grunt/file.js(417,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'.
@@ -68,8 +76,11 @@ lib/grunt/task.js(241,23): error TS2339: Property 'config' does not exist on typ
6876
lib/grunt/task.js(248,29): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
6977
lib/grunt/task.js(273,27): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
7078
lib/grunt/task.js(274,25): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'.
79+
lib/grunt/task.js(278,21): error TS2571: Object is of type 'unknown'.
7180
lib/grunt/task.js(285,35): error TS2339: Property 'config' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
81+
lib/grunt/task.js(331,48): error TS2571: Object is of type 'unknown'.
7282
lib/grunt/task.js(348,23): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
83+
lib/grunt/task.js(354,29): error TS2571: Object is of type 'unknown'.
7384
lib/grunt/task.js(361,13): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
7485
lib/grunt/task.js(377,14): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
7586
lib/grunt/task.js(390,19): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
@@ -95,6 +106,8 @@ lib/grunt/template.js(30,22): error TS2339: Property 'opener' does not exist on
95106
lib/grunt/template.js(31,39): error TS2339: Property 'closer' does not exist on type '{}'.
96107
lib/grunt/template.js(33,14): error TS2339: Property 'lodash' does not exist on type '{}'.
97108
lib/grunt/template.js(60,50): error TS2339: Property 'config' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
109+
lib/grunt/template.js(85,5): error TS2571: Object is of type 'unknown'.
110+
lib/grunt/template.js(85,69): error TS2571: Object is of type 'unknown'.
98111
lib/grunt/template.js(86,11): error TS2339: Property 'warn' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
99112
lib/grunt/template.js(86,25): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'.
100113
lib/util/task.js(161,36): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'.

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

+17-6
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ node_modules/lodash/_baseClone.js(94,16): error TS2362: The left-hand side of an
4444
node_modules/lodash/_baseClone.js(116,33): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean | undefined'.
4545
node_modules/lodash/_baseClone.js(129,43): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean | undefined'.
4646
node_modules/lodash/_baseDifference.js(37,5): error TS2322: Type '(array?: any[] | undefined, value: any, comparator: Function) => boolean' is not assignable to type '(array?: any[] | undefined, value: any) => boolean'.
47-
node_modules/lodash/_baseDifference.js(43,5): error TS2740: Type 'SetCache' is missing the following properties from type 'any[]': length, pop, concat, join, and 27 more.
47+
node_modules/lodash/_baseDifference.js(43,5): error TS2740: Type 'SetCache' is missing the following properties from type 'any[]': length, pop, concat, join, and 28 more.
4848
node_modules/lodash/_baseDifference.js(60,42): error TS2554: Expected 2 arguments, but got 3.
4949
node_modules/lodash/_baseFlatten.js(19,29): error TS2322: Type '(value: any) => boolean' is not assignable to type 'boolean | undefined'.
5050
Type '(value: any) => boolean' is not assignable to type 'true'.
@@ -57,7 +57,7 @@ node_modules/lodash/_baseHas.js(16,56): error TS2345: Argument of type 'string |
5757
Type 'any[]' is not assignable to type 'PropertyKey'.
5858
Type 'any[]' is not assignable to type 'string'.
5959
node_modules/lodash/_baseHasIn.js(9,28): error TS1016: A required parameter cannot follow an optional parameter.
60-
node_modules/lodash/_baseHasIn.js(10,28): error TS2360: The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'.
60+
node_modules/lodash/_baseHasIn.js(10,28): error TS2360: The left-hand side of an 'in' expression must be a private identifier or of type 'any', 'string', 'number', or 'symbol'.
6161
node_modules/lodash/_baseIntersection.js(53,40): error TS2345: Argument of type 'Function | undefined' is not assignable to parameter of type 'Function'.
6262
Type 'undefined' is not assignable to type 'Function'.
6363
node_modules/lodash/_baseIntersection.js(60,54): error TS2345: Argument of type 'Function | undefined' is not assignable to parameter of type 'Function'.
@@ -173,7 +173,7 @@ node_modules/lodash/_memoizeCapped.js(22,22): error TS2339: Property 'cache' doe
173173
node_modules/lodash/_mergeData.js(60,26): error TS2554: Expected 4 arguments, but got 3.
174174
node_modules/lodash/_mergeData.js(67,26): error TS2554: Expected 4 arguments, but got 3.
175175
node_modules/lodash/_nodeUtil.js(7,80): error TS2339: Property 'nodeType' does not exist on type '{ exports: any; }'.
176-
node_modules/lodash/_nodeUtil.js(13,47): error TS2339: Property 'process' does not exist on type 'false | (Global & typeof globalThis)'.
176+
node_modules/lodash/_nodeUtil.js(13,47): error TS2339: Property 'process' does not exist on type 'false | typeof globalThis'.
177177
Property 'process' does not exist on type 'false'.
178178
node_modules/lodash/_overRest.js(15,32): error TS1016: A required parameter cannot follow an optional parameter.
179179
node_modules/lodash/_overRest.js(20,42): error TS2532: Object is possibly 'undefined'.
@@ -182,12 +182,23 @@ node_modules/lodash/_overRest.js(27,27): error TS2532: Object is possibly 'undef
182182
node_modules/lodash/_overRest.js(28,22): error TS2532: Object is possibly 'undefined'.
183183
node_modules/lodash/_overRest.js(31,15): error TS2538: Type 'undefined' cannot be used as an index type.
184184
node_modules/lodash/_stackDelete.js(11,19): error TS2339: Property '__data__' does not exist on type 'stackDelete'.
185-
node_modules/lodash/_stackSet.js(21,22): error TS2339: Property '__data__' does not exist on type 'ListCache'.
186-
node_modules/lodash/_stackSet.js(24,26): error TS2339: Property 'size' does not exist on type 'ListCache'.
185+
node_modules/lodash/_stackSet.js(20,7): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.
186+
node_modules/lodash/_stackSet.js(21,22): error TS2339: Property '__data__' does not exist on type 'never'.
187+
node_modules/lodash/_stackSet.js(24,26): error TS2339: Property 'size' does not exist on type 'never'.
188+
node_modules/lodash/_stackSet.js(27,5): error TS2322: Type 'MapCache' is not assignable to type 'undefined'.
189+
node_modules/lodash/_stackSet.js(29,3): error TS2532: Object is possibly 'undefined'.
190+
node_modules/lodash/_stackSet.js(30,15): error TS2532: Object is possibly 'undefined'.
187191
node_modules/lodash/_unicodeWords.js(62,20): error TS8024: JSDoc '@param' tag has name 'The', but there is no parameter with that name.
188192
node_modules/lodash/_updateWrapDetails.js(34,5): error TS1223: 'returns' tag already specified.
189193
node_modules/lodash/_wrapperClone.js(14,20): error TS2339: Property 'clone' does not exist on type 'LazyWrapper'.
190194
node_modules/lodash/ary.js(23,23): error TS1016: A required parameter cannot follow an optional parameter.
195+
node_modules/lodash/attempt.js(31,39): error TS2769: No overload matches this call.
196+
Overload 1 of 2, '(message?: string | undefined, options?: ErrorOptions | undefined): Error', gave the following error.
197+
Argument of type 'unknown' is not assignable to parameter of type 'string | undefined'.
198+
Type 'unknown' is not assignable to type 'string'.
199+
Overload 2 of 2, '(message?: string | undefined): Error', gave the following error.
200+
Argument of type 'unknown' is not assignable to parameter of type 'string | undefined'.
201+
Type 'unknown' is not assignable to type 'string'.
191202
node_modules/lodash/before.js(34,7): error TS2322: Type 'undefined' is not assignable to type 'Function'.
192203
node_modules/lodash/bind.js(51,55): error TS2454: Variable 'holders' is used before being assigned.
193204
node_modules/lodash/bind.js(55,6): error TS2339: Property 'placeholder' does not exist on type 'Function'.
@@ -262,7 +273,7 @@ node_modules/lodash/core.js(3440,41): error TS2769: No overload matches this cal
262273
node_modules/lodash/core.js(3585,26): error TS1016: A required parameter cannot follow an optional parameter.
263274
node_modules/lodash/core.js(3596,51): error TS2532: Object is possibly 'undefined'.
264275
node_modules/lodash/core.js(3613,63): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
265-
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 26 more.
276+
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 27 more.
266277
node_modules/lodash/core.js(3837,33): error TS2339: Property '__chain__' does not exist on type 'lodash'.
267278
node_modules/lodash/core.js(3853,14): error TS2304: Cannot find name 'define'.
268279
node_modules/lodash/core.js(3853,45): error TS2304: Cannot find name 'define'.

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

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ node_modules/minimatch/minimatch.js(185,19): error TS2339: Property 'pattern' do
1515
node_modules/minimatch/minimatch.js(192,3): error TS2722: Cannot invoke an object which is possibly 'undefined'.
1616
node_modules/minimatch/minimatch.js(192,19): error TS2339: Property 'pattern' does not exist on type 'make'.
1717
node_modules/minimatch/minimatch.js(201,22): error TS2339: Property 'options' does not exist on type 'parseNegate'.
18+
node_modules/minimatch/minimatch.js(206,23): error TS2532: Object is possibly 'undefined'.
19+
node_modules/minimatch/minimatch.js(207,16): error TS2532: Object is possibly 'undefined'.
20+
node_modules/minimatch/minimatch.js(213,36): error TS2532: Object is possibly 'undefined'.
1821
node_modules/minimatch/minimatch.js(410,15): error TS2532: Object is possibly 'undefined'.
1922
node_modules/minimatch/minimatch.js(411,13): error TS2532: Object is possibly 'undefined'.
2023
node_modules/minimatch/minimatch.js(414,9): error TS2532: Object is possibly 'undefined'.
+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

+462-190
Large diffs are not rendered by default.

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ node_modules/npmlog/log.js(90,46): error TS2339: Property 'showProgress' does no
99
node_modules/npmlog/log.js(91,8): error TS2339: Property 'gauge' does not exist on type 'disableProgress'.
1010
node_modules/npmlog/log.js(150,12): error TS2339: Property 'progressEnabled' does not exist on type 'pause'.
1111
node_modules/npmlog/log.js(150,34): error TS2339: Property 'gauge' does not exist on type 'pause'.
12+
node_modules/npmlog/log.js(159,3): error TS2532: Object is possibly 'undefined'.
1213
node_modules/npmlog/log.js(162,12): error TS2339: Property 'progressEnabled' does not exist on type 'resume'.
1314
node_modules/npmlog/log.js(162,34): error TS2339: Property 'gauge' does not exist on type 'resume'.
1415
node_modules/npmlog/log.js(171,16): error TS2339: Property 'levels' does not exist on type '(Anonymous function)'.
@@ -21,13 +22,16 @@ node_modules/npmlog/log.js(207,18): error TS2339: Property 'maxRecordSize' does
2122
node_modules/npmlog/log.js(208,11): error TS2532: Object is possibly 'undefined'.
2223
node_modules/npmlog/log.js(211,19): error TS2532: Object is possibly 'undefined'.
2324
node_modules/npmlog/log.js(214,8): error TS2339: Property 'emitLog' does not exist on type '(Anonymous function)'.
24-
node_modules/npmlog/log.js(218,12): error TS2551: Property '_paused' does not exist on type '{ addListener(event: string | symbol, listener: (...args: any[]) => void): EventEmitter; on(event: string | symbol, listener: (...args: any[]) => void): EventEmitter; ... 42 more ...; disp: {}; }'. Did you mean 'pause'?
25+
node_modules/npmlog/log.js(218,12): error TS2551: Property '_paused' does not exist on type '{ addListener(eventName: string | symbol, listener: (...args: any[]) => void): EventEmitter; on(eventName: string | symbol, listener: (...args: any[]) => void): EventEmitter; ... 42 more ...; disp: {}; }'. Did you mean 'pause'?
2526
node_modules/npmlog/log.js(271,16): error TS2769: No overload matches this call.
2627
Overload 1 of 2, '(buffer: string | Uint8Array, cb?: ((err?: Error | undefined) => void) | undefined): boolean', gave the following error.
2728
Argument of type 'string | undefined' is not assignable to parameter of type 'string | Uint8Array'.
2829
Type 'undefined' is not assignable to type 'string | Uint8Array'.
2930
Overload 2 of 2, '(str: string | Uint8Array, encoding?: BufferEncoding | undefined, cb?: ((err?: Error | undefined) => void) | undefined): boolean', gave the following error.
3031
Argument of type 'string | undefined' is not assignable to parameter of type 'string | Uint8Array'.
32+
node_modules/npmlog/log.js(277,8): error TS2339: Property 'levels' does not exist on type 'addLevel'.
33+
node_modules/npmlog/log.js(278,8): error TS2339: Property 'style' does not exist on type 'addLevel'.
34+
node_modules/npmlog/log.js(289,8): error TS2339: Property 'disp' does not exist on type 'addLevel'.
3135

3236

3337

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

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
Exit Code: 2
22
Standard output:
3+
src/common/Coverage.ts(277,7): error TS2558: Expected 1 type arguments, but got 4.
4+
src/common/Page.ts(1798,38): error TS2558: Expected 1 type arguments, but got 2.
35
src/common/fetch.ts(21,3): error TS2322: Type '((input: RequestInfo, init?: RequestInit) => Promise<Response>) | typeof import("../../../node_modules/@types/node-fetch/index")' is not assignable to type '(input: RequestInfo, init?: RequestInit) => Promise<Response>'.
46
Type 'typeof import("../../../node_modules/@types/node-fetch/index")' is not assignable to type '(input: RequestInfo, init?: RequestInit) => Promise<Response>'.
57
Type 'typeof import("../../../node_modules/@types/node-fetch/index")' provides no match for the signature '(input: RequestInfo, init?: RequestInit): Promise<Response>'.

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

-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
Exit Code: 2
22
Standard output:
3-
node_modules/soap/lib/client.d.ts(4,26): error TS7016: Could not find a declaration file for module 'request'. '../../../tests/cases/user/soap/node_modules/request/index.js' implicitly has an 'any' type.
4-
Try `npm i --save-dev @types/request` if it exists or add a new declaration (.d.ts) file containing `declare module 'request';`
5-
node_modules/soap/lib/http.d.ts(2,22): error TS7016: Could not find a declaration file for module 'request'. '../../../tests/cases/user/soap/node_modules/request/index.js' implicitly has an 'any' type.
6-
Try `npm i --save-dev @types/request` if it exists or add a new declaration (.d.ts) file containing `declare module 'request';`
7-
node_modules/soap/lib/types.d.ts(1,22): error TS7016: Could not find a declaration file for module 'request'. '../../../tests/cases/user/soap/node_modules/request/index.js' implicitly has an 'any' type.
8-
Try `npm i --save-dev @types/request` if it exists or add a new declaration (.d.ts) file containing `declare module 'request';`
93
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.
104
Try `npm i --save-dev @types/sax` if it exists or add a new declaration (.d.ts) file containing `declare module 'sax';`
115

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

+379-282
Large diffs are not rendered by default.
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Exit Code: 2
2+
Standard output:
3+
lib/ProgressPlugin.js(487,56): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'.
4+
lib/ProgressPlugin.js(521,51): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'.
5+
lib/cache/IdleFileCachePlugin.js(111,43): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
6+
lib/cache/IdleFileCachePlugin.js(119,25): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
7+
lib/cache/PackFileCacheStrategy.js(1259,46): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
8+
lib/cache/PackFileCacheStrategy.js(1292,11): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
9+
lib/cache/PackFileCacheStrategy.js(1325,13): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
10+
lib/cache/PackFileCacheStrategy.js(1367,46): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
11+
lib/dependencies/WorkerPlugin.js(268,23): error TS2339: Property 'name' does not exist on type 'Record<string, any> | {}'.
12+
Property 'name' does not exist on type '{}'.
13+
lib/dependencies/WorkerPlugin.js(270,36): error TS2339: Property 'name' does not exist on type 'Record<string, any> | {}'.
14+
Property 'name' does not exist on type '{}'.
15+
lib/dependencies/WorkerPlugin.js(312,23): error TS2339: Property 'type' does not exist on type 'Record<string, Identifier | SimpleLiteral | RegExpLiteral | BigIntLiteral | FunctionExpression | ... 25 more ... | AssignmentPattern> | {}'.
16+
Property 'type' does not exist on type '{}'.
17+
lib/dependencies/WorkerPlugin.js(313,33): error TS2339: Property 'type' does not exist on type 'Record<string, Identifier | SimpleLiteral | RegExpLiteral | BigIntLiteral | FunctionExpression | ... 25 more ... | AssignmentPattern> | {}'.
18+
Property 'type' does not exist on type '{}'.
19+
lib/dependencies/WorkerPlugin.js(314,20): error TS2339: Property 'type' does not exist on type 'Record<string, any> | {}'.
20+
Property 'type' does not exist on type '{}'.
21+
lib/javascript/StartupHelpers.js(27,36): error TS2694: Namespace 'ChunkGraph' has no exported member 'EntryModuleWithChunkGroup'.
22+
lib/javascript/StartupHelpers.js(105,36): error TS2694: Namespace 'ChunkGraph' has no exported member 'EntryModuleWithChunkGroup'.
23+
lib/util/deterministicGrouping.js(501,14): error TS2314: Generic type 'GroupedItems' requires 1 type argument(s).
24+
node_modules/terser-webpack-plugin/types/index.d.ts(3,31): error TS2307: Cannot find module 'webpack' or its corresponding type declarations.
25+
node_modules/terser-webpack-plugin/types/index.d.ts(4,34): error TS2307: Cannot find module 'webpack' or its corresponding type declarations.
26+
node_modules/terser-webpack-plugin/types/index.d.ts(5,35): error TS2307: Cannot find module 'webpack' or its corresponding type declarations.
27+
node_modules/terser-webpack-plugin/types/index.d.ts(6,28): error TS2307: Cannot find module 'webpack' or its corresponding type declarations.
28+
29+
30+
31+
Standard error:

0 commit comments

Comments
 (0)
Please sign in to comment.