Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 38 additions & 23 deletions tests/baselines/reference/docker/azure-sdk.log
Original file line number Diff line number Diff line change
@@ -2,11 +2,15 @@ Exit Code: 1
Standard output:

Rush Multi-Project Build Tool 5.X.X - https://rushjs.io
Node.js version is 15.13.0 (unstable)
Node.js version is 16.1.0 (pre-LTS)
Starting "rush rebuild"
Executing a maximum of ?simultaneous processes...
==[ @azure/eslint-plugin-azure-sdk ]==============================[ 1 of 77 ]==
"@azure-tests/perf-ai-metrics-advisor" is blocked by "@azure/eslint-plugin-azure-sdk".
==[ @azure/eslint-plugin-azure-sdk ]==============================[ 1 of 85 ]==
"@azure-rest/ai-document-translator" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure-rest/confidential-ledger" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure-rest/core-client" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure-rest/purview-catalog" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure-rest/purview-scanning" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/abort-controller" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/ai-text-analytics" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure-tests/perf-ai-text-analytics" is blocked by "@azure/eslint-plugin-azure-sdk".
@@ -20,9 +24,9 @@ Executing a maximum of ?simultaneous processes...
"@azure/eventhubs-checkpointstore-blob" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/service-bus" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/core-auth" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure-tests/perf-core-rest-pipeline" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/ai-anomaly-detector" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/ai-form-recognizer" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure-tests/perf-ai-form-recognizer" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/ai-metrics-advisor" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/container-registry" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/core-client" is blocked by "@azure/eslint-plugin-azure-sdk".
@@ -49,7 +53,6 @@ Executing a maximum of ?simultaneous processes...
"@azure/synapse-artifacts" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/digital-twins-core" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/identity" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure-tests/perf-identity" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/iot-device-update" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/keyvault-common" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/mixedreality-authentication" is blocked by "@azure/eslint-plugin-azure-sdk".
@@ -67,9 +70,14 @@ Executing a maximum of ?simultaneous processes...
"@azure/synapse-spark" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/template" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/test-utils-perfstress" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure-tests/perf-ai-form-recognizer" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure-tests/perf-ai-metrics-advisor" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure-tests/perf-identity" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/test-utils-recorder" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/storage-internal-avro" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/test-utils-multi-version" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/test-utils" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/web-pubsub" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/web-pubsub-express" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/core-rest-pipeline" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/core-tracing" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/cosmos" is blocked by "@azure/eslint-plugin-azure-sdk".
@@ -81,12 +89,18 @@ Executing a maximum of ?simultaneous processes...
"@azure/core-xml" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/event-processor-host" is blocked by "@azure/eslint-plugin-azure-sdk".
"@azure/logger" is blocked by "@azure/eslint-plugin-azure-sdk".
==[ @azure/dev-tool ]============================================[ 77 of 77 ]==
==[ BLOCKED: 75 projects ]=====================================================
==[ @azure/dev-tool ]============================================[ 85 of 85 ]==
==[ BLOCKED: 83 projects ]=====================================================
These projects were blocked by dependencies that failed:
@azure-rest/ai-document-translator
@azure-rest/confidential-ledger
@azure-rest/core-client
@azure-rest/purview-catalog
@azure-rest/purview-scanning
@azure-tests/perf-ai-form-recognizer
@azure-tests/perf-ai-metrics-advisor
@azure-tests/perf-ai-text-analytics
@azure-tests/perf-core-rest-pipeline
@azure-tests/perf-eventgrid
@azure-tests/perf-identity
@azure-tests/perf-keyvault-certificates
@@ -156,23 +170,25 @@ These projects were blocked by dependencies that failed:
@azure/synapse-monitoring
@azure/synapse-spark
@azure/template
@azure/test-utils-multi-version
@azure/test-utils
@azure/test-utils-perfstress
@azure/test-utils-recorder
@azure/web-pubsub
@azure/web-pubsub-express
==[ FAILURE: 2 projects ]======================================================
--[ FAILURE: @azure/eslint-plugin-azure-sdk ]----------------[ ? seconds ]--
Invoking: tsc -p tsconfig.build.json && prettier --write dist/**/*.{js,json,md}
../../temp/node_modules/.pnpm/@typescript-eslint/[email protected][email protected][email protected]/node_modules/@typescript-eslint/experimental-utils/_ts3.4/dist/ast-utils/eslint-utils/astUtilities.d.ts:22:136 - error TS2307: Cannot find module '@typescript-eslint/scope-manager/dist/scope/Scope'.
22 declare const getPropertyName: (node: TSESTree.MemberExpression | TSESTree.Property | TSESTree.MethodDefinition, initialScope?: import("@typescript-eslint/scope-manager/dist/scope/Scope").Scope | undefined) => string | null;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../temp/node_modules/.pnpm/@typescript-eslint/[email protected][email protected][email protected]/node_modules/@typescript-eslint/experimental-utils/_ts3.4/dist/ast-utils/eslint-utils/astUtilities.d.ts:34:75 - error TS2307: Cannot find module '@typescript-eslint/scope-manager/dist/scope/Scope'.
34 declare const getStaticValue: (node: TSESTree.Node, initialScope?: import("@typescript-eslint/scope-manager/dist/scope/Scope").Scope | undefined) => {
...35 lines omitted...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/rules/ts-use-interface-parameters.ts:13:8 - error TS2307: Cannot find module '@typescript-eslint/typescript-estree/dist/parser-options'.
13 } from "@typescript-eslint/typescript-estree/dist/parser-options";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 10 errors.
src/rules/ts-package-json-name.ts:66:48 - error TS1109: Expression expected.
66 const subScopeSuffix = subScope ?? "";
~
src/rules/ts-package-json-name.ts:66:52 - error TS1005: ':' expected.
66 const subScopeSuffix = subScope ?? "";
...5 lines omitted...
~
src/rules/ts-package-json-name.ts:93:71 - error TS1005: ':' expected.
93 const [_, subScope] = packageName.match(/^@azure(-[a-z]+)?\//) ?? [];
~
Found 4 errors.
--[ FAILURE: @azure/dev-tool ]-------------------------------[ ? seconds ]--
Invoking: tsc
src/commands/about.ts(39,44): error TS1109: Expression expected.
@@ -181,8 +197,8 @@ src/commands/package/resolve.ts(33,36): error TS1109: Expression expected.
src/commands/package/resolve.ts(33,53): error TS1005: ':' expected.
src/commands/samples/checkNodeVersions.ts(240,49): error TS1109: Expression expected.
src/commands/samples/checkNodeVersions.ts(240,60): error TS1005: ':' expected.
src/commands/samples/publish.ts(202,37): error TS1109: Expression expected.
src/commands/samples/publish.ts(202,66): error TS1005: ':' expected.
src/commands/samples/publish.ts(205,37): error TS1109: Expression expected.
src/commands/samples/publish.ts(205,66): error TS1005: ':' expected.
...64 lines omitted...
src/util/printer.ts(117,72): error TS1005: ':' expected.
src/util/printer.ts(118,76): error TS1109: Expression expected.
@@ -199,7 +215,6 @@ rush rebuild (? seconds)


Standard error:
Your version of Node.js (X.X.X) is an odd-numbered release. These releases frequently have bugs. Please consider installing a Long Term Support (LTS) version instead.
Returned error code: 2
"@azure/eslint-plugin-azure-sdk" failed to build.
Returned error code: 1
1,155 changes: 191 additions & 964 deletions tests/baselines/reference/docker/office-ui-fabric.log

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/baselines/reference/docker/prettier.log
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Exit Code: 0
Standard output:
yarn run vX.X.X
$ node --max-old-space-size=3072 ./scripts/build/build.js
$ node --max-old-space-size=3072 ./scripts/build/build.mjs
Building packages
index.js....................... DONE
doc.js......................... DONE
17 changes: 2 additions & 15 deletions tests/baselines/reference/docker/vscode.log
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
Exit Code: 1
Exit Code: 0
Standard output:
yarn run vX.X.X
$ node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js compile
[XX:XX:XX] Using gulpfile /vscode/gulpfile.js
[XX:XX:XX] Error: /vscode/extensions/html-language-features/server/src/modes/javascriptMode.ts(130,4): Unused '@ts-expect-error' directive.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Done in ?s.



Standard error:
(node:18) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
[XX:XX:XX] 'compile' errored after
[XX:XX:XX] Error: Found 1 errors
at Stream.<anonymous> (/vscode/build/lib/reporter.js:91:29)
at _end (/vscode/node_modules/through/index.js:65:9)
at Stream.stream.end (/vscode/node_modules/through/index.js:74:5)
at StreamFilter.onend (/vscode/node_modules/readable-stream/lib/_stream_readable.js:577:10)
at Object.onceWrapper (events.js:286:20)
at StreamFilter.emit (events.js:203:15)
at StreamFilter.EventEmitter.emit (domain.js:466:23)
at endReadableNT (/vscode/node_modules/readable-stream/lib/_stream_readable.js:1010:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
error Command failed with exit code 1.
83 changes: 32 additions & 51 deletions tests/baselines/reference/docker/vue-next.log

Large diffs are not rendered by default.

25 changes: 4 additions & 21 deletions tests/baselines/reference/docker/xterm.js.log
Original file line number Diff line number Diff line change
@@ -3,17 +3,12 @@ Standard output:

> xterm@X.X.X build /xtermjs
> tsc -b ./tsconfig.all.json
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'?
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
addons/xterm-addon-ligatures/src/font.ts(6,26): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/font.ts(7,44): error TS2307: Cannot find module 'font-ligatures' or its corresponding type declarations.
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.
addons/xterm-addon-ligatures/src/font.ts(62,38): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/font.ts(40,31): error TS2352: Conversion of type 'Navigator' to type 'IFontAccessNavigator' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Property 'fonts' is missing in type 'Navigator' but required in type 'IFontAccessNavigator'.
addons/xterm-addon-ligatures/src/font.ts(56,38): error TS2352: Conversion of type 'Navigator' to type 'IFontAccessNavigator' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
addons/xterm-addon-ligatures/src/font.ts(71,38): error TS2307: Cannot find module 'font-finder' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/index.ts(7,22): error TS2307: Cannot find module 'font-ligatures' or its corresponding type declarations.
addons/xterm-addon-ligatures/src/index.ts(75,14): error TS2347: Untyped function calls may not accept type arguments.
addons/xterm-addon-ligatures/src/index.ts(76,9): error TS7006: Parameter 'range' implicitly has an 'any' type.
@@ -24,18 +19,6 @@ addons/xterm-addon-ligatures/src/index.test.ts(10,32): error TS2307: Cannot find
addons/xterm-addon-ligatures/src/index.test.ts(26,25): error TS2304: Cannot find name '__dirname'.
addons/xterm-addon-ligatures/src/index.test.ts(33,25): error TS2304: Cannot find name '__dirname'.
addons/xterm-addon-ligatures/src/index.test.ts(40,25): error TS2304: Cannot find name '__dirname'.
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
The file is in the program because:
Entry point of type library '../../../out-test/api/TestUtils' specified in compilerOptions



39 changes: 39 additions & 0 deletions tests/baselines/reference/user/acorn.log

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions tests/baselines/reference/user/assert.log
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
Exit Code: 2
Standard output:
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
node_modules/assert/test.js(140,10): error TS2339: Property 'a' does not exist on type 'number[]'.
node_modules/assert/test.js(141,10): error TS2339: Property 'b' does not exist on type 'number[]'.
node_modules/assert/test.js(142,10): error TS2339: Property 'b' does not exist on type 'number[]'.
node_modules/assert/test.js(143,10): error TS2339: Property 'a' does not exist on type 'number[]'.
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.
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.
node_modules/assert/test.js(157,51): error TS2349: This expression is not callable.
Type 'never' has no call signatures.
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.
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.
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.
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.
node_modules/assert/test.js(182,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(229,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
node_modules/assert/test.js(235,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'?
205 changes: 0 additions & 205 deletions tests/baselines/reference/user/async.log

Large diffs are not rendered by default.

33 changes: 20 additions & 13 deletions tests/baselines/reference/user/axios-src.log
Original file line number Diff line number Diff line change
@@ -8,19 +8,19 @@ lib/adapters/http.js(116,22): error TS2345: Argument of type 'string | null' is
Type 'null' is not assignable to type 'string'.
lib/adapters/http.js(153,17): error TS2531: Object is possibly 'null'.
lib/adapters/http.js(153,40): error TS2531: Object is possibly 'null'.
lib/adapters/http.js(248,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/http.js(254,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/http.js(260,13): error TS2322: Type 'string' is not assignable to type 'Buffer'.
lib/adapters/http.js(262,15): error TS2322: Type 'string' is not assignable to type 'Buffer'.
lib/adapters/http.js(262,45): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
lib/adapters/http.js(275,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/http.js(304,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/xhr.js(65,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(77,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(84,51): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/xhr.js(87,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(100,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(168,9): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/http.js(250,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/http.js(256,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/http.js(262,13): error TS2322: Type 'string' is not assignable to type 'Buffer'.
lib/adapters/http.js(264,15): error TS2322: Type 'string' is not assignable to type 'Buffer'.
lib/adapters/http.js(264,45): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'.
lib/adapters/http.js(277,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/http.js(325,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/xhr.js(57,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(92,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(99,51): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/adapters/xhr.js(102,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(118,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/adapters/xhr.js(178,9): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'.
lib/axios.js(23,9): error TS2554: Expected 3 arguments, but got 2.
lib/axios.js(25,3): error TS2739: Type '(...args: any[]) => any' is missing the following properties from type 'Axios': defaults, interceptors, request, getUri
lib/axios.js(32,7): error TS2339: Property 'Axios' does not exist on type 'Axios'.
@@ -36,6 +36,9 @@ lib/cancel/CancelToken.js(28,11): error TS2339: Property 'reason' does not exist
lib/cancel/CancelToken.js(29,26): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
lib/cancel/CancelToken.js(37,12): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
lib/cancel/CancelToken.js(38,16): error TS2339: Property 'reason' does not exist on type 'CancelToken'.
lib/core/Axios.js(54,37): error TS2554: Expected 3 arguments, but got 2.
lib/core/Axios.js(55,37): error TS2554: Expected 3 arguments, but got 2.
lib/core/Axios.js(56,39): error TS2554: Expected 3 arguments, but got 2.
lib/core/enhanceError.js(14,9): error TS2339: Property 'config' does not exist on type 'Error'.
lib/core/enhanceError.js(16,11): error TS2339: Property 'code' does not exist on type 'Error'.
lib/core/enhanceError.js(19,9): error TS2339: Property 'request' does not exist on type 'Error'.
@@ -52,6 +55,10 @@ lib/core/enhanceError.js(38,18): error TS2339: Property 'code' does not exist on
lib/core/settle.js(20,7): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
lib/helpers/buildURL.js(22,49): error TS1016: A required parameter cannot follow an optional parameter.
lib/helpers/cookies.js(16,56): error TS2551: Property 'toGMTString' does not exist on type 'Date'. Did you mean 'toUTCString'?
lib/helpers/validator.js(3,19): error TS2732: Cannot find module './../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension.
lib/helpers/validator.js(44,33): error TS2554: Expected 2 arguments, but got 1.
lib/helpers/validator.js(67,24): error TS2349: This expression is not callable.
No constituent of type 'true | Function' is callable.
lib/utils.js(271,20): error TS8029: JSDoc '@param' tag has name 'obj1', but there is no parameter with that name. It would match 'arguments' if it had an array type.


99 changes: 37 additions & 62 deletions tests/baselines/reference/user/chrome-devtools-frontend.log

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions tests/baselines/reference/user/debug.log
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ node_modules/debug/src/browser.js(34,74): error TS2339: Property 'type' does not
node_modules/debug/src/browser.js(34,112): error TS2339: Property '__nwjs' does not exist on type 'Process'.
node_modules/debug/src/browser.js(45,138): error TS2551: Property 'WebkitAppearance' does not exist on type 'CSSStyleDeclaration'. Did you mean 'webkitAppearance'?
node_modules/debug/src/browser.js(46,70): error TS2339: Property 'firebug' does not exist on type 'Console'.
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?
node_modules/debug/src/browser.js(46,81): error TS2774: This condition will always return true since this function is always defined. Did you mean to call it instead?
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[]]'.
node_modules/debug/src/browser.js(152,13): error TS2304: Cannot find name 'LocalStorage'.
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; }'.
@@ -27,8 +27,6 @@ node_modules/debug/src/common.js(244,34): error TS2339: Property 'load' does not
node_modules/debug/src/index.js(7,47): error TS2339: Property 'type' does not exist on type 'Process'.
node_modules/debug/src/index.js(7,78): error TS2339: Property 'browser' does not exist on type 'Process'.
node_modules/debug/src/index.js(7,106): error TS2339: Property '__nwjs' does not exist on type 'Process'.
node_modules/debug/src/node.js(24,1): error TS2323: Cannot redeclare exported variable 'colors'.
node_modules/debug/src/node.js(32,5): error TS2323: Cannot redeclare exported variable 'colors'.
node_modules/debug/src/node.js(53,39): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/debug/src/node.js(54,5): error TS2322: Type 'true' is not assignable to type 'string | undefined'.
2 changes: 2 additions & 0 deletions tests/baselines/reference/user/enhanced-resolve.log
Original file line number Diff line number Diff line change
@@ -43,6 +43,8 @@ node_modules/enhanced-resolve/lib/Resolver.js(262,20): error TS2339: Property 'r
node_modules/enhanced-resolve/lib/RootPlugin.js(9,36): error TS2694: Namespace 'Resolver' has no exported member 'ResolveStepHook'.
node_modules/enhanced-resolve/lib/concord.js(80,30): error TS2531: Object is possibly 'null'.
node_modules/enhanced-resolve/lib/concord.js(81,17): error TS2531: Object is possibly 'null'.
node_modules/enhanced-resolve/lib/concord.js(149,24): error TS2339: Property 'replace' does not exist on type 'never'.
node_modules/enhanced-resolve/lib/concord.js(179,18): error TS2532: Object is possibly 'undefined'.



47 changes: 24 additions & 23 deletions tests/baselines/reference/user/follow-redirects.log
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
Exit Code: 2
Standard output:
node_modules/follow-redirects/index.js(38,17): error TS2345: Argument of type 'this' is not assignable to parameter of type 'Writable'.
node_modules/follow-redirects/index.js(39,17): error TS2345: Argument of type 'this' is not assignable to parameter of type 'Writable'.
Type 'RedirectableRequest' is missing the following properties from type 'Writable': writable, writableEnded, writableFinished, writableHighWaterMark, and 27 more.
node_modules/follow-redirects/index.js(50,10): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(71,8): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(72,8): error TS2339: Property 'removeAllListeners' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(107,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(156,10): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(161,14): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(162,25): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(164,10): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(165,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(174,12): error TS2339: Property 'removeListener' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(182,12): error TS2339: Property 'socket' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(189,8): error TS2339: Property 'once' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(190,8): error TS2339: Property 'once' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(249,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(51,10): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(67,8): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(102,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(151,10): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(162,14): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(163,25): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(165,10): error TS2339: Property '_timeout' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(166,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(176,12): error TS2339: Property 'removeListener' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(184,12): error TS2339: Property 'socket' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(185,21): error TS2339: Property 'socket' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(191,8): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(192,8): error TS2339: Property 'once' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(193,8): error TS2339: Property 'once' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(252,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(288,16): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(338,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(360,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
node_modules/follow-redirects/index.js(336,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(358,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/follow-redirects/index.js(363,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
node_modules/follow-redirects/index.js(361,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
node_modules/follow-redirects/index.js(381,14): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(393,13): error TS2339: Property 'cause' does not exist on type 'CustomError'.
node_modules/follow-redirects/index.js(394,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(401,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(519,25): error TS2339: Property 'code' does not exist on type 'Error'.
node_modules/follow-redirects/index.js(379,14): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(391,13): error TS2339: Property 'cause' does not exist on type 'CustomError'.
node_modules/follow-redirects/index.js(392,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(399,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'.
node_modules/follow-redirects/index.js(517,25): error TS2339: Property 'code' does not exist on type 'Error'.



40 changes: 0 additions & 40 deletions tests/baselines/reference/user/fp-ts.log

This file was deleted.

8 changes: 6 additions & 2 deletions tests/baselines/reference/user/lodash.log
Original file line number Diff line number Diff line change
@@ -182,8 +182,12 @@ node_modules/lodash/_overRest.js(27,27): error TS2532: Object is possibly 'undef
node_modules/lodash/_overRest.js(28,22): error TS2532: Object is possibly 'undefined'.
node_modules/lodash/_overRest.js(31,15): error TS2538: Type 'undefined' cannot be used as an index type.
node_modules/lodash/_stackDelete.js(11,19): error TS2339: Property '__data__' does not exist on type 'stackDelete'.
node_modules/lodash/_stackSet.js(21,22): error TS2339: Property '__data__' does not exist on type 'ListCache'.
node_modules/lodash/_stackSet.js(24,26): error TS2339: Property 'size' does not exist on type 'ListCache'.
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.
node_modules/lodash/_stackSet.js(21,22): error TS2339: Property '__data__' does not exist on type 'never'.
node_modules/lodash/_stackSet.js(24,26): error TS2339: Property 'size' does not exist on type 'never'.
node_modules/lodash/_stackSet.js(27,5): error TS2322: Type 'MapCache' is not assignable to type 'undefined'.
node_modules/lodash/_stackSet.js(29,3): error TS2532: Object is possibly 'undefined'.
node_modules/lodash/_stackSet.js(30,15): error TS2532: Object is possibly 'undefined'.
node_modules/lodash/_unicodeWords.js(62,20): error TS8024: JSDoc '@param' tag has name 'The', but there is no parameter with that name.
node_modules/lodash/_updateWrapDetails.js(34,5): error TS1223: 'returns' tag already specified.
node_modules/lodash/_wrapperClone.js(14,20): error TS2339: Property 'clone' does not exist on type 'LazyWrapper'.
3 changes: 3 additions & 0 deletions tests/baselines/reference/user/minimatch.log
Original file line number Diff line number Diff line change
@@ -15,6 +15,9 @@ node_modules/minimatch/minimatch.js(185,19): error TS2339: Property 'pattern' do
node_modules/minimatch/minimatch.js(192,3): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/minimatch/minimatch.js(192,19): error TS2339: Property 'pattern' does not exist on type 'make'.
node_modules/minimatch/minimatch.js(201,22): error TS2339: Property 'options' does not exist on type 'parseNegate'.
node_modules/minimatch/minimatch.js(206,23): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(207,16): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(213,36): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(410,15): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(411,13): error TS2532: Object is possibly 'undefined'.
node_modules/minimatch/minimatch.js(414,9): error TS2532: Object is possibly 'undefined'.
51 changes: 26 additions & 25 deletions tests/baselines/reference/user/npm.log
Original file line number Diff line number Diff line change
@@ -3,19 +3,19 @@ Standard output:
lib/access.js(27,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Access'.
lib/adduser.js(16,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'AddUser'.
lib/audit.js(14,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Audit'.
lib/base-command.js(15,29): error TS2339: Property 'description' does not exist on type 'Function'.
lib/base-command.js(20,26): error TS2339: Property 'description' does not exist on type 'Function'.
lib/base-command.js(21,43): error TS2339: Property 'description' does not exist on type 'Function'.
lib/base-command.js(24,27): error TS2339: Property 'usage' does not exist on type 'Function'.
lib/base-command.js(27,43): error TS2339: Property 'usage' does not exist on type 'Function'.
lib/base-command.js(29,26): error TS2339: Property 'params' does not exist on type 'Function'.
lib/base-command.js(31,58): error TS2339: Property 'params' does not exist on type 'Function'.
lib/base-command.js(16,29): error TS2339: Property 'description' does not exist on type 'Function'.
lib/base-command.js(21,26): error TS2339: Property 'description' does not exist on type 'Function'.
lib/base-command.js(22,43): error TS2339: Property 'description' does not exist on type 'Function'.
lib/base-command.js(25,27): error TS2339: Property 'usage' does not exist on type 'Function'.
lib/base-command.js(28,43): error TS2339: Property 'usage' does not exist on type 'Function'.
lib/base-command.js(30,26): error TS2339: Property 'params' does not exist on type 'Function'.
lib/base-command.js(43,42): error TS2339: Property 'params' does not exist on type 'Function'.
lib/bin.js(9,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Bin'.
lib/bugs.js(12,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Bugs'.
lib/cache.js(15,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Cache'.
lib/cache.js(119,34): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
lib/cache.js(117,34): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
lib/cache.js(120,26): error TS2532: Object is possibly 'undefined'.
lib/cache.js(118,26): error TS2532: Object is possibly 'undefined'.
lib/ci.js(13,16): error TS2769: No overload matches this call.
The last overload gave the following error.
Argument of type '"time"' is not assignable to parameter of type 'Signals'.
@@ -38,7 +38,7 @@ lib/dedupe.js(14,14): error TS2699: Static property 'name' conflicts with built-
lib/dedupe.js(25,10): error TS2339: Property 'code' does not exist on type 'Error'.
lib/deprecate.js(15,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Deprecate'.
lib/diff.js(20,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Diff'.
lib/dist-tag.js(16,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'DistTag'.
lib/dist-tag.js(22,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'DistTag'.
lib/docs.js(15,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Docs'.
lib/doctor.js(41,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Doctor'.
lib/doctor.js(80,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'.
@@ -47,20 +47,23 @@ lib/doctor.js(82,19): error TS2345: Argument of type 'boolean' is not assignable
lib/doctor.js(92,9): error TS2322: Type 'string | false | any[]' is not assignable to type 'boolean'.
Type 'string' is not assignable to type 'boolean'.
lib/doctor.js(98,9): error TS2322: Type 'string | false | any[]' is not assignable to type 'boolean'.
lib/doctor.js(184,7): error TS2322: Type 'number' is not assignable to type 'null'.
lib/doctor.js(216,27): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'.
lib/edit.js(17,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Edit'.
lib/edit.js(56,13): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
lib/exec.js(62,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Exec'.
lib/exec.js(79,22): error TS2345: Argument of type '{ path: any; runPath: string; }' is not assignable to parameter of type '{ locationMsg: any; path: any; runPath: any; }'.
lib/exec.js(43,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Exec'.
lib/exec.js(60,22): error TS2345: Argument of type '{ path: any; runPath: string; }' is not assignable to parameter of type '{ locationMsg: any; path: any; runPath: any; }'.
Property 'locationMsg' is missing in type '{ path: any; runPath: string; }' but required in type '{ locationMsg: any; path: any; runPath: any; }'.
lib/explain.js(16,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Explain'.
lib/explain.js(27,33): error TS2554: Expected 0-1 arguments, but got 2.
lib/explore.js(16,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Explore'.
lib/find-dupes.js(11,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'FindDupes'.
lib/fund.js(31,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Fund'.
lib/fund.js(30,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Fund'.
lib/fund.js(52,33): error TS2554: Expected 0-1 arguments, but got 2.
lib/fund.js(71,11): error TS2339: Property 'code' does not exist on type 'Error'.
lib/fund.js(77,11): error TS2339: Property 'code' does not exist on type 'Error'.
lib/fund.js(221,22): error TS2339: Property 'code' does not exist on type 'Error'.
lib/fund.js(96,15): error TS2339: Property 'flatOptions' does not exist on type 'Fund'.
lib/fund.js(227,22): error TS2339: Property 'code' does not exist on type 'Error'.
lib/get.js(10,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Get'.
lib/help-search.js(15,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'HelpSearch'.
lib/help.js(21,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Help'.
@@ -78,9 +81,8 @@ lib/help.js(134,12): error TS2339: Property 'on' does not exist on type 'never'.
The intersection 'ChildProcessWithoutNullStreams & ChildProcessByStdio<Writable, Readable, Readable> & ... 7 more ... & ChildProcess' was reduced to 'never' because property 'stdin' has conflicting types in some constituents.
lib/help.js(138,16): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
lib/hook.js(12,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Hook'.
lib/init.js(13,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Init'.
lib/init.js(58,62): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
lib/init.js(89,18): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
lib/init.js(26,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Init'.
lib/init.js(168,18): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
lib/install-ci-test.js(12,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'InstallCITest'.
lib/install-test.js(12,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'InstallTest'.
lib/install.js(20,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Install'.
@@ -149,8 +151,6 @@ lib/npm.js(209,18): error TS2769: No overload matches this call.
lib/npm.js(212,18): error TS2769: No overload matches this call.
The last overload gave the following error.
Argument of type '"timeEnd"' is not assignable to parameter of type 'Signals'.
lib/npm.js(300,44): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
Type 'undefined' is not assignable to type 'string'.
lib/org.js(12,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Org'.
lib/outdated.js(22,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Outdated'.
lib/outdated.js(119,7): error TS2532: Object is possibly 'undefined'.
@@ -163,12 +163,12 @@ lib/owner.js(150,37): error TS2339: Property 'error' does not exist on type 'str
lib/owner.js(160,5): error TS2322: Type '{ name: any; email: any; }' is not assignable to type 'string'.
lib/owner.js(160,19): error TS2339: Property 'name' does not exist on type 'string'.
lib/owner.js(160,34): error TS2339: Property 'email' does not exist on type 'string'.
lib/pack.js(20,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Pack'.
lib/pack.js(21,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Pack'.
lib/ping.js(17,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Ping'.
lib/prefix.js(10,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Prefix'.
lib/profile.js(46,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Profile'.
lib/prune.js(13,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Prune'.
lib/publish.js(27,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Publish'.
lib/publish.js(33,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Publish'.
lib/rebuild.js(15,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Rebuild'.
lib/rebuild.js(26,33): error TS2554: Expected 0-1 arguments, but got 2.
lib/repo.js(17,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Repo'.
@@ -256,12 +256,13 @@ lib/utils/usage.js(8,21): error TS2769: No overload matches this call.
Argument of type 'string' is not assignable to parameter of type 'ConcatArray<never>'.
Overload 2 of 2, '(...items: ConcatArray<never>[]): never[]', gave the following error.
Argument of type 'string' is not assignable to parameter of type 'ConcatArray<never>'.
lib/version.js(10,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Version'.
lib/version.js(15,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Version'.
lib/view.js(38,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'View'.
lib/view.js(215,10): error TS2339: Property 'statusCode' does not exist on type 'Error'.
lib/view.js(216,10): error TS2339: Property 'code' does not exist on type 'Error'.
lib/view.js(217,10): error TS2339: Property 'pkgid' does not exist on type 'Error'.
lib/view.js(218,10): error TS2339: Property 'statusCode' does not exist on type 'Error'.
lib/view.js(219,10): error TS2339: Property 'code' does not exist on type 'Error'.
lib/view.js(220,10): error TS2339: Property 'pkgid' does not exist on type 'Error'.
lib/whoami.js(11,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Whoami'.
lib/workspaces/arborist-cmd.js(19,14): error TS2339: Property 'exec' does not exist on type 'ArboristCmd'.



1 change: 1 addition & 0 deletions tests/baselines/reference/user/npmlog.log
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ node_modules/npmlog/log.js(90,46): error TS2339: Property 'showProgress' does no
node_modules/npmlog/log.js(91,8): error TS2339: Property 'gauge' does not exist on type 'disableProgress'.
node_modules/npmlog/log.js(150,12): error TS2339: Property 'progressEnabled' does not exist on type 'pause'.
node_modules/npmlog/log.js(150,34): error TS2339: Property 'gauge' does not exist on type 'pause'.
node_modules/npmlog/log.js(159,3): error TS2532: Object is possibly 'undefined'.
node_modules/npmlog/log.js(162,12): error TS2339: Property 'progressEnabled' does not exist on type 'resume'.
node_modules/npmlog/log.js(162,34): error TS2339: Property 'gauge' does not exist on type 'resume'.
node_modules/npmlog/log.js(171,16): error TS2339: Property 'levels' does not exist on type '(Anonymous function)'.
5 changes: 5 additions & 0 deletions tests/baselines/reference/user/puppeteer.log
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
Exit Code: 2
Standard output:
src/common/BrowserConnector.ts(54,14): error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'.
src/common/BrowserConnector.ts(55,14): error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'.
src/common/JSHandle.ts(567,24): error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'.
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>'.
Type 'typeof import("../../../node_modules/@types/node-fetch/index")' is not assignable to type '(input: RequestInfo, init?: RequestInit) => Promise<Response>'.
Type 'typeof import("../../../node_modules/@types/node-fetch/index")' provides no match for the signature '(input: RequestInfo, init?: RequestInit): Promise<Response>'.
src/common/fetch.ts(21,25): error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'.
src/common/helper.ts(367,20): error TS1323: Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'.



581 changes: 314 additions & 267 deletions tests/baselines/reference/user/uglify-js.log

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions tests/baselines/reference/user/webpack.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Exit Code: 2
Standard output:
lib/ProgressPlugin.js(487,56): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'.
lib/ProgressPlugin.js(521,51): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'.
lib/cache/IdleFileCachePlugin.js(100,43): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
lib/cache/IdleFileCachePlugin.js(108,25): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
lib/cache/PackFileCacheStrategy.js(1112,46): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
lib/cache/PackFileCacheStrategy.js(1145,11): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
lib/cache/PackFileCacheStrategy.js(1178,13): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
lib/cache/PackFileCacheStrategy.js(1220,46): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'.
lib/javascript/StartupHelpers.js(51,36): error TS2694: Namespace 'ChunkGraph' has no exported member 'EntryModuleWithChunkGroup'.
lib/javascript/StartupHelpers.js(129,36): error TS2694: Namespace 'ChunkGraph' has no exported member 'EntryModuleWithChunkGroup'.
lib/util/deterministicGrouping.js(501,14): error TS2314: Generic type 'GroupedItems' requires 1 type argument(s).



Standard error: