From 681b1e419141ef7aa4992ecd166708b04412ff33 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Wed, 4 Aug 2021 09:36:38 +0000 Subject: [PATCH 1/2] Update user baselines +cc @sandersn --- .../baselines/reference/docker/azure-sdk.log | 259 +++++--- tests/baselines/reference/docker/prettier.log | 36 +- tests/baselines/reference/docker/vue-next.log | 177 +---- tests/baselines/reference/docker/xterm.js.log | 31 +- tests/baselines/reference/user/acorn.log | 68 +- .../reference/user/adonis-framework.log | 9 +- tests/baselines/reference/user/assert.log | 26 +- tests/baselines/reference/user/async.log | 207 +----- tests/baselines/reference/user/axios-src.log | 35 +- tests/baselines/reference/user/bluebird.log | 12 +- .../user/chrome-devtools-frontend.log | 326 ++++----- .../reference/user/create-react-app.log | 8 +- tests/baselines/reference/user/debug.log | 5 +- .../reference/user/enhanced-resolve.log | 14 +- .../reference/user/follow-redirects.log | 48 +- tests/baselines/reference/user/fp-ts.log | 40 -- .../baselines/reference/user/graceful-fs.log | 3 +- tests/baselines/reference/user/grunt.log | 13 + tests/baselines/reference/user/lodash.log | 12 +- tests/baselines/reference/user/minimatch.log | 3 + tests/baselines/reference/user/mqtt.log | 8 + tests/baselines/reference/user/npm.log | 229 ++++--- tests/baselines/reference/user/npmlog.log | 6 +- tests/baselines/reference/user/soap.log | 6 - tests/baselines/reference/user/uglify-js.log | 623 ++++++++++-------- tests/baselines/reference/user/webpack.log | 17 + 26 files changed, 1024 insertions(+), 1197 deletions(-) delete mode 100644 tests/baselines/reference/user/fp-ts.log create mode 100644 tests/baselines/reference/user/mqtt.log create mode 100644 tests/baselines/reference/user/webpack.log diff --git a/tests/baselines/reference/docker/azure-sdk.log b/tests/baselines/reference/docker/azure-sdk.log index 02929564d5cf8..9e965a0b0c7a4 100644 --- a/tests/baselines/reference/docker/azure-sdk.log +++ b/tests/baselines/reference/docker/azure-sdk.log @@ -2,91 +2,130 @@ 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.6.1 (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/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". -"@azure/communication-chat" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/communication-common" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/communication-identity" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/communication-phone-numbers" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/communication-sms" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/core-amqp" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/event-hubs" is blocked by "@azure/eslint-plugin-azure-sdk". -"@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/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". -"@azure/data-tables" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/eventgrid" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure-tests/perf-eventgrid" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/core-http" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure-tests/perf-storage-blob" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/app-configuration" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/attestation" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/core-lro" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/keyvault-admin" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/keyvault-certificates" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure-tests/perf-keyvault-certificates" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/keyvault-keys" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure-tests/perf-keyvault-keys" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/keyvault-secrets" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure-tests/perf-keyvault-secrets" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/storage-blob" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/quantum-jobs" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/storage-blob-changefeed" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/storage-file-datalake" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure-tests/perf-storage-file-datalake" is blocked by "@azure/eslint-plugin-azure-sdk". -"@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". -"@azure/monitor-opentelemetry-exporter" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/schema-registry" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/schema-registry-avro" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/search-documents" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure-tests/perf-search-documents" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/storage-file-share" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure-tests/perf-storage-file-share" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/storage-queue" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/synapse-access-control" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/synapse-managed-private-endpoints" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/synapse-monitoring" is blocked by "@azure/eslint-plugin-azure-sdk". -"@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/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/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". -"@azure/core-crypto" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/mock-hub" is blocked by "@azure/eslint-plugin-azure-sdk". +==[ @azure/dev-tool ]============================================[ 1 of 106 ]== +"@azure-rest/agrifood-farming" is blocked by "@azure/dev-tool". +"@azure-rest/ai-document-translator" is blocked by "@azure/dev-tool". +"@azure-rest/confidential-ledger" is blocked by "@azure/dev-tool". +"@azure-rest/core-client" is blocked by "@azure/dev-tool". +"@azure-rest/core-client-paging" is blocked by "@azure/dev-tool". +"@azure-rest/purview-catalog" is blocked by "@azure/dev-tool". +"@azure-rest/purview-scanning" is blocked by "@azure/dev-tool". +"@azure/abort-controller" is blocked by "@azure/dev-tool". +"@azure/app-configuration" is blocked by "@azure/dev-tool". +"@azure-tests/perf-app-configuration" is blocked by "@azure/dev-tool". +"@azure/arm-compute" is blocked by "@azure/dev-tool". +"@azure/arm-managedapplications" is blocked by "@azure/dev-tool". +"@azure/arm-network" is blocked by "@azure/dev-tool". +"@azure/arm-resources" is blocked by "@azure/dev-tool". +"@azure/arm-storage" is blocked by "@azure/dev-tool". +"@azure/communication-chat" is blocked by "@azure/dev-tool". +"@azure/communication-common" is blocked by "@azure/dev-tool". +"@azure/communication-identity" is blocked by "@azure/dev-tool". +"@azure/communication-network-traversal" is blocked by "@azure/dev-tool". +"@azure/communication-phone-numbers" is blocked by "@azure/dev-tool". +"@azure/communication-sms" is blocked by "@azure/dev-tool". +"@azure/core-amqp" is blocked by "@azure/dev-tool". +"@azure/event-hubs" is blocked by "@azure/dev-tool". +"@azure/eventhubs-checkpointstore-blob" is blocked by "@azure/dev-tool". +"@azure/eventhubs-checkpointstore-table" is blocked by "@azure/dev-tool". +"@azure/service-bus" is blocked by "@azure/dev-tool". +"@azure/eventgrid" is blocked by "@azure/dev-tool". +"@azure-tests/perf-eventgrid" is blocked by "@azure/dev-tool". +"@azure/core-auth" is blocked by "@azure/dev-tool". +"@azure-tests/perf-core-rest-pipeline" is blocked by "@azure/dev-tool". +"@azure/ai-anomaly-detector" is blocked by "@azure/dev-tool". +"@azure/ai-form-recognizer" is blocked by "@azure/dev-tool". +"@azure/ai-metrics-advisor" is blocked by "@azure/dev-tool". +"@azure/ai-text-analytics" is blocked by "@azure/dev-tool". +"@azure/arm-features" is blocked by "@azure/dev-tool". +"@azure/arm-links" is blocked by "@azure/dev-tool". +"@azure/arm-locks" is blocked by "@azure/dev-tool". +"@azure/arm-policy" is blocked by "@azure/dev-tool". +"@azure/attestation" is blocked by "@azure/dev-tool". +"@azure/container-registry" is blocked by "@azure/dev-tool". +"@azure/core-client" is blocked by "@azure/dev-tool". +"@azure/data-tables" is blocked by "@azure/dev-tool". +"@azure-tests/perf-data-tables" is blocked by "@azure/dev-tool". +"@azure/iot-modelsrepository" is blocked by "@azure/dev-tool". +"@azure/keyvault-admin" is blocked by "@azure/dev-tool". +"@azure/mixed-reality-remote-rendering" is blocked by "@azure/dev-tool". +"@azure/monitor-opentelemetry-exporter" is blocked by "@azure/dev-tool". +"@azure/monitor-query" is blocked by "@azure/dev-tool". +"@azure/schema-registry" is blocked by "@azure/dev-tool". +"@azure/schema-registry-avro" is blocked by "@azure/dev-tool". +"@azure/web-pubsub" is blocked by "@azure/dev-tool". +"@azure/core-http" is blocked by "@azure/dev-tool". +"@azure-tests/perf-storage-blob" is blocked by "@azure/dev-tool". +"@azure/core-lro" is blocked by "@azure/dev-tool". +"@azure/keyvault-certificates" is blocked by "@azure/dev-tool". +"@azure-tests/perf-keyvault-certificates" is blocked by "@azure/dev-tool". +"@azure/keyvault-keys" is blocked by "@azure/dev-tool". +"@azure/keyvault-secrets" is blocked by "@azure/dev-tool". +"@azure-tests/perf-keyvault-secrets" is blocked by "@azure/dev-tool". +"@azure/storage-blob" is blocked by "@azure/dev-tool". +"@azure/storage-blob-changefeed" is blocked by "@azure/dev-tool". +"@azure/storage-file-datalake" is blocked by "@azure/dev-tool". +"@azure-tests/perf-storage-file-datalake" is blocked by "@azure/dev-tool". +"@azure/storage-file-share" is blocked by "@azure/dev-tool". +"@azure-tests/perf-storage-file-share" is blocked by "@azure/dev-tool". +"@azure/synapse-artifacts" is blocked by "@azure/dev-tool". +"@azure/digital-twins-core" is blocked by "@azure/dev-tool". +"@azure/identity" is blocked by "@azure/dev-tool". +"@azure-tests/perf-ai-text-analytics" is blocked by "@azure/dev-tool". +"@azure-tests/perf-identity" is blocked by "@azure/dev-tool". +"@azure-tests/perf-keyvault-keys" is blocked by "@azure/dev-tool". +"@azure/identity-cache-persistence" is blocked by "@azure/dev-tool". +"@azure/identity-vscode" is blocked by "@azure/dev-tool". +"@azure/iot-device-update" is blocked by "@azure/dev-tool". +"@azure/quantum-jobs" is blocked by "@azure/dev-tool". +"@azure/keyvault-common" is blocked by "@azure/dev-tool". +"@azure/mixed-reality-authentication" is blocked by "@azure/dev-tool". +"@azure/search-documents" is blocked by "@azure/dev-tool". +"@azure-tests/perf-search-documents" is blocked by "@azure/dev-tool". +"@azure/storage-queue" is blocked by "@azure/dev-tool". +"@azure/synapse-access-control" is blocked by "@azure/dev-tool". +"@azure/synapse-managed-private-endpoints" is blocked by "@azure/dev-tool". +"@azure/synapse-monitoring" is blocked by "@azure/dev-tool". +"@azure/synapse-spark" is blocked by "@azure/dev-tool". +"@azure/template" is blocked by "@azure/dev-tool". +"@azure/test-utils-perfstress" is blocked by "@azure/dev-tool". +"@azure-tests/perf-ai-form-recognizer" is blocked by "@azure/dev-tool". +"@azure-tests/perf-ai-metrics-advisor" is blocked by "@azure/dev-tool". +"@azure/test-utils-recorder" is blocked by "@azure/dev-tool". +"@azure/storage-internal-avro" is blocked by "@azure/dev-tool". +"@azure/test-utils" is blocked by "@azure/dev-tool". +"@azure/web-pubsub-express" is blocked by "@azure/dev-tool". +"@azure/video-analyzer-edge" is blocked by "@azure/dev-tool". +"@azure/core-rest-pipeline" is blocked by "@azure/dev-tool". +"@azure/cosmos" is blocked by "@azure/dev-tool". +"@azure/core-tracing" is blocked by "@azure/dev-tool". +"@azure/core-crypto" is blocked by "@azure/dev-tool". +"@azure/mock-hub" is blocked by "@azure/dev-tool". +"@azure/core-paging" is blocked by "@azure/dev-tool". +"@azure/core-util" is blocked by "@azure/dev-tool". +"@azure/core-xml" is blocked by "@azure/dev-tool". +"@azure/event-processor-host" is blocked by "@azure/dev-tool". +"@azure/logger" is blocked by "@azure/dev-tool". +==[ @azure/eslint-plugin-azure-sdk ]===========================[ 105 of 106 ]== "@azure/core-asynciterator-polyfill" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/core-paging" is blocked by "@azure/eslint-plugin-azure-sdk". -"@azure/core-util" is blocked by "@azure/eslint-plugin-azure-sdk". -"@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 ]===================================================== +==[ BLOCKED: 104 projects ]==================================================== These projects were blocked by dependencies that failed: + @azure-rest/agrifood-farming + @azure-rest/ai-document-translator + @azure-rest/confidential-ledger + @azure-rest/core-client + @azure-rest/core-client-paging + @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-app-configuration + @azure-tests/perf-core-rest-pipeline + @azure-tests/perf-data-tables @azure-tests/perf-eventgrid @azure-tests/perf-identity @azure-tests/perf-keyvault-certificates @@ -102,10 +141,20 @@ These projects were blocked by dependencies that failed: @azure/ai-metrics-advisor @azure/ai-text-analytics @azure/app-configuration + @azure/arm-compute + @azure/arm-features + @azure/arm-links + @azure/arm-locks + @azure/arm-managedapplications + @azure/arm-network + @azure/arm-policy + @azure/arm-resources + @azure/arm-storage @azure/attestation @azure/communication-chat @azure/communication-common @azure/communication-identity + @azure/communication-network-traversal @azure/communication-phone-numbers @azure/communication-sms @azure/container-registry @@ -128,17 +177,23 @@ These projects were blocked by dependencies that failed: @azure/event-processor-host @azure/eventgrid @azure/eventhubs-checkpointstore-blob + @azure/eventhubs-checkpointstore-table @azure/identity + @azure/identity-cache-persistence + @azure/identity-vscode @azure/iot-device-update + @azure/iot-modelsrepository @azure/keyvault-admin @azure/keyvault-certificates @azure/keyvault-common @azure/keyvault-keys @azure/keyvault-secrets @azure/logger - @azure/mixedreality-authentication + @azure/mixed-reality-authentication + @azure/mixed-reality-remote-rendering @azure/mock-hub @azure/monitor-opentelemetry-exporter + @azure/monitor-query @azure/quantum-jobs @azure/schema-registry @azure/schema-registry-avro @@ -156,34 +211,24 @@ 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/video-analyzer-edge + @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/experimental-utils@X.X.X_eslint@X.X.X+typescript@X.X.X/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/experimental-utils@X.X.X_eslint@X.X.X+typescript@X.X.X/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. --[ FAILURE: @azure/dev-tool ]-------------------------------[ ? seconds ]-- Invoking: tsc src/commands/about.ts(39,44): error TS1109: Expression expected. src/commands/about.ts(39,51): error TS1005: ':' expected. 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. - ...64 lines omitted... +src/commands/samples/checkNodeVersions.ts(274,10): error TS1109: Expression expected. +src/commands/samples/checkNodeVersions.ts(277,5): error TS1005: ':' expected. +src/commands/samples/publish.ts(205,37): error TS1109: Expression expected. +src/commands/samples/publish.ts(205,66): error TS1005: ':' expected. + ...69 lines omitted... src/util/printer.ts(117,72): error TS1005: ':' expected. src/util/printer.ts(118,76): error TS1109: Expression expected. src/util/printer.ts(118,96): error TS1109: Expression expected. @@ -194,14 +239,26 @@ src/util/printer.ts(119,60): error TS1109: Expression expected. src/util/printer.ts(119,78): error TS1005: ':' expected. src/util/sampleConfiguration.ts(120,49): error TS1109: Expression expected. src/util/sampleConfiguration.ts(120,53): error TS1005: ':' expected. +--[ FAILURE: @azure/eslint-plugin-azure-sdk ]----------------[ ? seconds ]-- +Invoking: tsc -p tsconfig.build.json && prettier --write dist/**/*.{js,json,md} +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. 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 "@azure/dev-tool" failed to build. +Returned error code: 2 +"@azure/eslint-plugin-azure-sdk" failed to build. Projects failed to build. diff --git a/tests/baselines/reference/docker/prettier.log b/tests/baselines/reference/docker/prettier.log index efa20afd8aa53..957a84937824b 100644 --- a/tests/baselines/reference/docker/prettier.log +++ b/tests/baselines/reference/docker/prettier.log @@ -1,7 +1,7 @@ -Exit Code: 0 +Exit Code: 134 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 @@ -10,19 +10,27 @@ bin-prettier.js................ DONE third-party.js................. DONE parser-babel.js................ DONE parser-flow.js................. DONE -parser-typescript.js........... DONE -parser-espree.js............... DONE -parser-meriyah.js.............. DONE -parser-angular.js.............. DONE -parser-postcss.js.............. DONE -esm/parser-postcss.mjs......... DONE -parser-graphql.js.............. DONE -parser-markdown.js............. DONE -parser-glimmer.js.............. DONE -parser-html.js................. DONE -parser-yaml.js................. DONE -Done in ?s. +parser-typescript.js...........info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Standard error: + +<--- Last few GCs ---> +[18:0x48d8430] ?s: Scavenge 3020.8 (3087.4) -> 3016.6 (3088.4) MB, 11.8 / ?s (average mu = 0.425, current mu = 0.383) allocation failure +[18:0x48d8430] ?s: Scavenge 3033.1 (3099.7) -> 3029.6 (3099.7) MB, 14.3 / ?s (average mu = 0.425, current mu = 0.383) allocation failure +[18:0x48d8430] ?s: Scavenge 3037.5 (3104.2) -> 3036.8 (3124.0) MB, 1101.2 / ?s (average mu = 0.425, current mu = 0.383) allocation failure +<--- JS stacktrace ---> +FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory + 1: 0xafedf0 node::Abort() [/usr/local/bin/node] + 2: 0xa1814d node::FatalError(char const*, char const*) [/usr/local/bin/node] + 3: 0xce795e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node] + 4: 0xce7cd7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node] + 5: 0xeb16b5 [/usr/local/bin/node] + 6: 0xec084d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node] + 7: 0xec39cc v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node] + 8: 0xe862ec v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/usr/local/bin/node] + 9: 0x11f3156 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node] +10: 0x15c9ed9 [/usr/local/bin/node] +Aborted (core dumped) +error Command failed with exit code 134. diff --git a/tests/baselines/reference/docker/vue-next.log b/tests/baselines/reference/docker/vue-next.log index 601c192cf78c4..ecd28a09ff721 100644 --- a/tests/baselines/reference/docker/vue-next.log +++ b/tests/baselines/reference/docker/vue-next.log @@ -3,62 +3,6 @@ Standard output: > build > node scripts/build.js "--types" -Rolling up type definitions for compiler-core... -Analysis will use the bundled TypeScript version 4.1.5 -*** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. -Writing: /vue-next/temp/compiler-core.api.json -The API report is up to date: temp/compiler-core.api.md -Writing package typings: /vue-next/packages/compiler-core/dist/compiler-core.d.ts -Writing package typings: /vue-next/dist/compiler-core.d.ts -API Extractor completed successfully. -Rolling up type definitions for compiler-dom... -Analysis will use the bundled TypeScript version 4.1.5 -*** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. -Writing: /vue-next/temp/compiler-dom.api.json -The API report is up to date: temp/compiler-dom.api.md -Writing package typings: /vue-next/packages/compiler-dom/dist/compiler-dom.d.ts -Writing package typings: /vue-next/dist/compiler-dom.d.ts -API Extractor completed successfully. -Rolling up type definitions for compiler-sfc... -Analysis will use the bundled TypeScript version 4.1.5 -*** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. -Writing: /vue-next/temp/compiler-sfc.api.json -The API report is up to date: temp/compiler-sfc.api.md -Writing package typings: /vue-next/packages/compiler-sfc/dist/compiler-sfc.d.ts -Writing package typings: /vue-next/dist/compiler-sfc.d.ts -API Extractor completed successfully. -Rolling up type definitions for compiler-ssr... -Analysis will use the bundled TypeScript version 4.1.5 -*** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. -Writing: /vue-next/temp/compiler-ssr.api.json -The API report is up to date: temp/compiler-ssr.api.md -Writing package typings: /vue-next/packages/compiler-ssr/dist/compiler-ssr.d.ts -Writing package typings: /vue-next/dist/compiler-ssr.d.ts -API Extractor completed successfully. -Rolling up type definitions for reactivity... -Analysis will use the bundled TypeScript version 4.1.5 -*** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. -Writing: /vue-next/temp/reactivity.api.json -The API report is up to date: temp/reactivity.api.md -Writing package typings: /vue-next/packages/reactivity/dist/reactivity.d.ts -Writing package typings: /vue-next/dist/reactivity.d.ts -API Extractor completed successfully. -Rolling up type definitions for runtime-core... -Analysis will use the bundled TypeScript version 4.1.5 -*** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. -Writing: /vue-next/temp/runtime-core.api.json -The API report is up to date: temp/runtime-core.api.md -Writing package typings: /vue-next/packages/runtime-core/dist/runtime-core.d.ts -Writing package typings: /vue-next/dist/runtime-core.d.ts -API Extractor completed successfully. -Rolling up type definitions for server-renderer... -Analysis will use the bundled TypeScript version 4.1.5 -*** The target project appears to use TypeScript X.X.X-insiders.xxxxxxxx which is newer than the bundled compiler engine; consider upgrading API Extractor. -Writing: /vue-next/temp/server-renderer.api.json -The API report is up to date: temp/server-renderer.api.md -Writing package typings: /vue-next/packages/server-renderer/dist/server-renderer.d.ts -Writing package typings: /vue-next/dist/server-renderer.d.ts -API Extractor completed successfully. @@ -66,121 +10,32 @@ Standard error: /vue-next/packages/compiler-core/src/index.ts → packages/compiler-core/dist/compiler-core.esm-bundler.js... /vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.esm-bundler.js... -created packages/compiler-dom/dist/compiler-dom.esm-bundler.js in ?s -/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.esm-browser.js... -created packages/compiler-core/dist/compiler-core.esm-bundler.js in ?s -/vue-next/packages/compiler-core/src/index.ts → packages/compiler-core/dist/compiler-core.cjs.js... -created packages/compiler-dom/dist/compiler-dom.esm-browser.js in ?s -/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.cjs.js... -created packages/compiler-core/dist/compiler-core.cjs.js in ?s -/vue-next/packages/compiler-core/src/index.ts → packages/compiler-core/dist/compiler-core.cjs.prod.js... -created packages/compiler-dom/dist/compiler-dom.cjs.js in ?s -/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.global.js... -created packages/compiler-core/dist/compiler-core.cjs.prod.js in ?s -created packages/compiler-dom/dist/compiler-dom.global.js in ?s -/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.esm-browser.prod.js... -created packages/compiler-dom/dist/compiler-dom.esm-browser.prod.js in ?s -/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.cjs.prod.js... -created packages/compiler-dom/dist/compiler-dom.cjs.prod.js in ?s -/vue-next/packages/compiler-dom/src/index.ts → packages/compiler-dom/dist/compiler-dom.global.prod.js... -Warning: dist/packages/compiler-core/src/options.d.ts:36:25 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag -Warning: dist/packages/compiler-core/src/options.d.ts:36:26 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag -Warning: dist/packages/compiler-core/src/options.d.ts:36:19 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" -Warning: dist/packages/compiler-core/src/options.d.ts:36:20 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" -Warning: dist/packages/compiler-core/src/options.d.ts:89:42 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag -Warning: dist/packages/compiler-core/src/options.d.ts:89:43 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag -Warning: dist/packages/compiler-core/src/options.d.ts:89:35 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" -Warning: dist/packages/compiler-core/src/options.d.ts:89:36 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" -Warning: dist/packages/compiler-core/src/options.d.ts:130:39 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag -Warning: dist/packages/compiler-core/src/options.d.ts:130:21 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" -Warning: dist/packages/compiler-core/src/options.d.ts:151:42 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag -Warning: dist/packages/compiler-core/src/options.d.ts:151:43 - (tsdoc-escape-right-brace) The "}" character should be escaped using a backslash to avoid confusion with a TSDoc inline tag -Warning: dist/packages/compiler-core/src/options.d.ts:151:35 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" -Warning: dist/packages/compiler-core/src/options.d.ts:151:36 - (tsdoc-malformed-inline-tag) Expecting a TSDoc tag starting with "{@" -Warning: /vue-next/packages/reactivity/src/baseHandlers.ts:198:3 - (TS2322) Type '(string | number | symbol)[]' is not assignable to type '(string | symbol)[]'. - Type 'string | number | symbol' is not assignable to type 'string | symbol'. - Type 'number' is not assignable to type 'string | symbol'. -/vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.cjs.js... -created packages/compiler-dom/dist/compiler-dom.global.prod.js in ?s -created packages/compiler-sfc/dist/compiler-sfc.cjs.js in ?s -/vue-next/packages/compiler-sfc/src/index.ts → packages/compiler-sfc/dist/compiler-sfc.esm-browser.js... -Warning: /vue-next/packages/reactivity/src/baseHandlers.ts:198:3 - (TS2322) Type '(string | number | symbol)[]' is not assignable to type '(string | symbol)[]'. - Type 'string | number | symbol' is not assignable to type 'string | symbol'. - Type 'number' is not assignable to type 'string | symbol'. -/vue-next/packages/compiler-ssr/src/index.ts → packages/compiler-ssr/dist/compiler-ssr.cjs.js... -created packages/compiler-sfc/dist/compiler-sfc.esm-browser.js in ?s -created packages/compiler-ssr/dist/compiler-ssr.cjs.js in ?s -Warning: dist/packages/compiler-sfc/src/compileScript.d.ts:28:36 - (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag -Warning: dist/packages/compiler-sfc/src/compileScript.d.ts:28:23 - (tsdoc-html-tag-missing-equals) The HTML element has an invalid attribute: Expecting "=" after HTML attribute name -Warning: dist/packages/compiler-sfc/src/compileStyle.d.ts:18:8 - (tsdoc-missing-deprecation-message) The @deprecated block must include a deprecation message, e.g. describing the recommended alternative -Warning: /vue-next/packages/reactivity/src/baseHandlers.ts:198:3 - (TS2322) Type '(string | number | symbol)[]' is not assignable to type '(string | symbol)[]'. - Type 'string | number | symbol' is not assignable to type 'string | symbol'. - Type 'number' is not assignable to type 'string | symbol'. -Warning: /vue-next/packages/reactivity/src/baseHandlers.ts:198:3 - (TS2322) Type '(string | number | symbol)[]' is not assignable to type '(string | symbol)[]'. - Type 'string | number | symbol' is not assignable to type 'string | symbol'. - Type 'number' is not assignable to type 'string | symbol'. -/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-bundler.js... -/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.esm-bundler.js... -created packages/reactivity/dist/reactivity.esm-bundler.js in ?s -/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-browser.js... -created packages/reactivity/dist/reactivity.esm-browser.js in ?s -/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.cjs.js... -created packages/reactivity/dist/reactivity.cjs.js in ?s -/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.global.js... -created packages/runtime-core/dist/runtime-core.esm-bundler.js in ?s -/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.cjs.js... -created packages/reactivity/dist/reactivity.global.js in ?s -/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.esm-browser.prod.js... -created packages/reactivity/dist/reactivity.esm-browser.prod.js in ?s -/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.cjs.prod.js... -created packages/reactivity/dist/reactivity.cjs.prod.js in ?s -/vue-next/packages/reactivity/src/index.ts → packages/reactivity/dist/reactivity.global.prod.js... -created packages/runtime-core/dist/runtime-core.cjs.js in ?s -/vue-next/packages/runtime-core/src/index.ts → packages/runtime-core/dist/runtime-core.cjs.prod.js... -created packages/reactivity/dist/reactivity.global.prod.js in ?s -created packages/runtime-core/dist/runtime-core.cjs.prod.js in ?s -Warning: src/baseHandlers.ts:198:3 - (TS2322) Type '(string | number | symbol)[]' is not assignable to type '(string | symbol)[]'. - Type 'string | number | symbol' is not assignable to type 'string | symbol'. - Type 'number' is not assignable to type 'string | symbol'. -Warning: /vue-next/packages/reactivity/src/baseHandlers.ts:198:3 - (TS2322) Type '(string | number | symbol)[]' is not assignable to type '(string | symbol)[]'. - Type 'string | number | symbol' is not assignable to type 'string | symbol'. - Type 'number' is not assignable to type 'string | symbol'. -Warning: dist/packages/runtime-core/src/index.d.ts:34:9 - (TS2717) Subsequent property declarations must have the same type. Property 'runtimeCoreBailTypes' must be of type 'VNode | { $: ComponentInternalInstance; }', but here has type 'VNode | { $: ComponentInternalInstance; }'. -/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.esm-bundler.js... -/vue-next/packages/server-renderer/src/index.ts → packages/server-renderer/dist/server-renderer.cjs.js... -created packages/runtime-dom/dist/runtime-dom.esm-bundler.js in ?s -/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.esm-browser.js... -created packages/server-renderer/dist/server-renderer.cjs.js in ?s -/vue-next/packages/server-renderer/src/index.ts → packages/server-renderer/dist/server-renderer.cjs.prod.js... -created packages/runtime-dom/dist/runtime-dom.esm-browser.js in ?s -/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.cjs.js... -created packages/runtime-dom/dist/runtime-dom.cjs.js in ?s -/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.global.js... -created packages/server-renderer/dist/server-renderer.cjs.prod.js in ?s -created packages/runtime-dom/dist/runtime-dom.global.js in ?s -/vue-next/packages/runtime-dom/src/index.ts → packages/runtime-dom/dist/runtime-dom.esm-browser.prod.js... -Warning: /vue-next/packages/reactivity/src/baseHandlers.ts:198:3 - (TS2322) Type '(string | number | symbol)[]' is not assignable to type '(string | symbol)[]'. - Type 'string | number | symbol' is not assignable to type 'string | symbol'. - Type 'number' is not assignable to type 'string | symbol'. -/vue-next/packages/sfc-playground/src/index.ts → packages/sfc-playground/dist/sfc-playground.global.js... -[!] Error: Could not resolve entry module (packages/sfc-playground/src/index.ts). -Error: Could not resolve entry module (packages/sfc-playground/src/index.ts). +[!] (plugin rpt2) Error: /vue-next/packages/compiler-core/src/transforms/transformExpression.ts(239,9): semantic error TS2571: Object is of type 'unknown'. +packages/compiler-core/src/transforms/transformExpression.ts +Error: /vue-next/packages/compiler-core/src/transforms/transformExpression.ts(239,9): semantic error TS2571: Object is of type 'unknown'. at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:5239:30) - at ModuleLoader.loadEntryModule (/vue-next/node_modules/rollup/dist/shared/rollup.js:18677:20) - at async Promise.all (index 0) + at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:18179:12) + at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:18786:24) + at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:18348:38) + at RollupContext.error (/vue-next/node_modules/rollup-plugin-typescript2/src/rollupcontext.ts:37:18) + at /vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:41:11 + at arrayEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:516:11) + at Function._.each [as forEach] (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9368:14) + at printDiagnostics (/vue-next/node_modules/rollup-plugin-typescript2/src/print-diagnostics.ts:9:2) + at Object.transform (/vue-next/node_modules/rollup-plugin-typescript2/src/index.ts:242:5) /vue-next/node_modules/brotli/build/encode.js:3 1 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(50,13): error TS2571: Object is of type 'unknown'. +addons/xterm-addon-ligatures/src/font.ts(65,23): error TS2571: Object is of type 'unknown'. +addons/xterm-addon-ligatures/src/font.ts(65,33): error TS2571: Object is of type 'unknown'. +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,12 @@ 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 +addons/xterm-addon-webgl/src/GlyphRenderer.ts(306,26): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. +addons/xterm-addon-webgl/src/GlyphRenderer.ts(306,43): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. +addons/xterm-addon-webgl/src/GlyphRenderer.ts(376,47): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. +addons/xterm-addon-webgl/src/GlyphRenderer.ts(376,64): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. +addons/xterm-addon-webgl/src/RectangleRenderer.ts(134,47): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. +addons/xterm-addon-webgl/src/RectangleRenderer.ts(134,64): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. diff --git a/tests/baselines/reference/user/acorn.log b/tests/baselines/reference/user/acorn.log index 2fa0b829304cd..21353d1941d36 100644 --- a/tests/baselines/reference/user/acorn.log +++ b/tests/baselines/reference/user/acorn.log @@ -42,6 +42,8 @@ node_modules/acorn/acorn-loose/dist/acorn-loose.js(296,10): error TS2339: Proper node_modules/acorn/acorn-loose/dist/acorn-loose.js(297,22): error TS2339: Property 'tok' does not exist on type 'parseTopLevel'. node_modules/acorn/acorn-loose/dist/acorn-loose.js(298,28): error TS2339: Property 'options' does not exist on type 'parseTopLevel'. node_modules/acorn/acorn-loose/dist/acorn-loose.js(299,17): error TS2339: Property 'finishNode' does not exist on type 'parseTopLevel'. +node_modules/acorn/acorn-loose/dist/acorn-loose.js(585,9): error TS2322: Type 'true' is not assignable to type 'undefined'. +node_modules/acorn/acorn-loose/dist/acorn-loose.js(589,9): error TS2322: Type 'false' is not assignable to type 'undefined'. node_modules/acorn/acorn-loose/dist/acorn-loose.js(623,10): error TS2551: Property 'initFunction' does not exist on type 'parseFunction'. Did you mean 'inFunction'? node_modules/acorn/acorn-loose/dist/acorn-loose.js(624,14): error TS2339: Property 'options' does not exist on type 'parseFunction'. node_modules/acorn/acorn-loose/dist/acorn-loose.js(625,29): error TS2339: Property 'eat' does not exist on type 'parseFunction'. @@ -53,6 +55,8 @@ node_modules/acorn/acorn-loose/dist/acorn-loose.js(634,24): error TS2339: Proper node_modules/acorn/acorn-loose/dist/acorn-loose.js(635,22): error TS2339: Property 'parseBlock' does not exist on type 'parseFunction'. node_modules/acorn/acorn-loose/dist/acorn-loose.js(636,10): error TS2339: Property 'toks' does not exist on type 'parseFunction'. node_modules/acorn/acorn-loose/dist/acorn-loose.js(639,17): error TS2339: Property 'finishNode' does not exist on type 'parseFunction'. +node_modules/acorn/acorn-loose/dist/acorn-loose.js(1150,9): error TS2322: Type 'true' is not assignable to type 'undefined'. +node_modules/acorn/acorn-loose/dist/acorn-loose.js(1154,9): error TS2322: Type 'false' is not assignable to type 'undefined'. node_modules/acorn/acorn-loose/dist/acorn-loose.js(1243,96): error TS1313: The body of an 'if' statement cannot be the empty statement. node_modules/acorn/acorn-loose/dist/acorn-loose.js(1288,21): error TS2339: Property 'startNode' does not exist on type 'parseMethod'. node_modules/acorn/acorn-loose/dist/acorn-loose.js(1289,10): error TS2551: Property 'initFunction' does not exist on type 'parseMethod'. Did you mean 'inFunction'? @@ -269,6 +273,7 @@ node_modules/acorn/acorn/dist/acorn.js(2671,24): error TS2339: Property 'parseBl node_modules/acorn/acorn/dist/acorn.js(2673,12): error TS2339: Property 'adaptDirectivePrologue' does not exist on type 'parseFunctionBody'. node_modules/acorn/acorn/dist/acorn.js(2676,10): error TS2339: Property 'exitScope' does not exist on type 'parseFunctionBody'. node_modules/acorn/acorn/dist/acorn.js(2679,40): error TS2339: Property 'checkLVal' does not exist on type 'parseFunctionBody'. +node_modules/acorn/acorn/dist/acorn.js(2722,11): error TS2322: Type 'null' is not assignable to type 'undefined'. node_modules/acorn/acorn/dist/acorn.js(2761,21): error TS2339: Property 'startNode' does not exist on type 'parseIdent'. node_modules/acorn/acorn/dist/acorn.js(2762,14): error TS2339: Property 'type' does not exist on type 'parseIdent'. node_modules/acorn/acorn/dist/acorn.js(2763,24): error TS2339: Property 'value' does not exist on type 'parseIdent'. @@ -351,11 +356,13 @@ node_modules/acorn/acorn/dist/acorn.js(4300,58): error TS2532: Object is possibl node_modules/acorn/acorn/dist/acorn.js(4301,28): error TS2339: Property 'raise' does not exist on type 'skipBlockComment'. node_modules/acorn/acorn/dist/acorn.js(4301,34): error TS2532: Object is possibly 'undefined'. node_modules/acorn/acorn/dist/acorn.js(4303,14): error TS2339: Property 'options' does not exist on type 'skipBlockComment'. +node_modules/acorn/acorn/dist/acorn.js(4304,7): error TS2322: Type 'undefined' is not assignable to type 'number'. node_modules/acorn/acorn/dist/acorn.js(4306,44): error TS2339: Property 'input' does not exist on type 'skipBlockComment'. node_modules/acorn/acorn/dist/acorn.js(4307,16): error TS2339: Property 'curLine' does not exist on type 'skipBlockComment'. node_modules/acorn/acorn/dist/acorn.js(4311,14): error TS2339: Property 'options' does not exist on type 'skipBlockComment'. node_modules/acorn/acorn/dist/acorn.js(4312,14): error TS2339: Property 'options' does not exist on type 'skipBlockComment'. node_modules/acorn/acorn/dist/acorn.js(4312,43): error TS2339: Property 'input' does not exist on type 'skipBlockComment'. +node_modules/acorn/acorn/dist/acorn.js(4312,55): error TS2532: Object is possibly 'undefined'. node_modules/acorn/acorn/dist/acorn.js(4313,45): error TS2339: Property 'curPosition' does not exist on type 'skipBlockComment'. node_modules/acorn/acorn/dist/acorn.js(4332,23): error TS2339: Property 'pos' does not exist on type 'skipSpace'. node_modules/acorn/acorn/dist/acorn.js(4332,34): error TS2339: Property 'input' does not exist on type 'skipSpace'. @@ -396,6 +403,12 @@ node_modules/acorn/acorn/dist/acorn.js(4587,34): error TS2339: Property 'unexpec node_modules/acorn/acorn/dist/acorn.js(4592,10): error TS2339: Property 'validateRegExpFlags' does not exist on type 'readRegexp'. node_modules/acorn/acorn/dist/acorn.js(4593,10): error TS2339: Property 'validateRegExpPattern' does not exist on type 'readRegexp'. node_modules/acorn/acorn/dist/acorn.js(4604,17): error TS2339: Property 'finishToken' does not exist on type 'readRegexp'. +node_modules/acorn/acorn/dist/acorn.js(4615,25): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/acorn/dist/acorn.js(4616,30): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/acorn/dist/acorn.js(4617,44): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/acorn/dist/acorn.js(4618,14): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/acorn/dist/acorn.js(4619,11): error TS2532: Object is possibly 'undefined'. +node_modules/acorn/acorn/dist/acorn.js(4621,31): error TS2532: Object is possibly 'undefined'. node_modules/acorn/acorn/dist/acorn.js(4723,12): error TS2339: Property 'readTmplToken' does not exist on type 'tryReadTemplateToken'. node_modules/acorn/acorn/dist/acorn.js(4726,14): error TS2339: Property 'readInvalidTemplateToken' does not exist on type 'tryReadTemplateToken'. node_modules/acorn/acorn/dist/acorn.js(4744,37): error TS2339: Property 'pos' does not exist on type 'readTmplToken'. @@ -472,6 +485,8 @@ node_modules/acorn/acorn/dist/acorn.js(4893,27): error TS2339: Property 'pos' do node_modules/acorn/acorn/dist/acorn.js(4899,24): error TS2339: Property 'input' does not exist on type 'readWord1'. node_modules/acorn/acorn/dist/acorn.js(4899,53): error TS2339: Property 'pos' does not exist on type 'readWord1'. node_modules/acorn/acorn/dist/bin.js(46,27): error TS2339: Property 'getToken' does not exist on type 'Parser'. +node_modules/acorn/acorn/dist/bin.js(51,46): error TS2571: Object is of type 'unknown'. +node_modules/acorn/acorn/dist/bin.js(51,150): error TS2571: Object is of type 'unknown'. node_modules/acorn/acorn/dist/bin.js(54,30): error TS2769: No overload matches this call. Overload 1 of 2, '(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string', gave the following error. Argument of type 'null' is not assignable to parameter of type '((this: any, key: string, value: any) => any) | undefined'. @@ -479,26 +494,27 @@ node_modules/acorn/acorn/dist/bin.js(54,30): error TS2769: No overload matches t Argument of type '2 | null' is not assignable to parameter of type 'string | number | undefined'. Type 'null' is not assignable to type 'string | number | undefined'. node_modules/acorn/acorn/dist/bin.js(58,23): error TS2769: No overload matches this call. - Overload 1 of 3, '(path: number | PathLike, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'. - Type 'undefined' is not assignable to type 'number | PathLike'. - Overload 2 of 3, '(path: number | PathLike, options: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): string', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'. - Overload 3 of 3, '(path: number | PathLike, options?: BufferEncoding | (BaseEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'. + Overload 1 of 3, '(path: PathOrFileDescriptor, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error. + Argument of type 'string | undefined' is not assignable to parameter of type 'PathOrFileDescriptor'. + Type 'undefined' is not assignable to type 'PathOrFileDescriptor'. + Overload 2 of 3, '(path: PathOrFileDescriptor, options: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): string', gave the following error. + Argument of type 'string | undefined' is not assignable to parameter of type 'PathOrFileDescriptor'. + Overload 3 of 3, '(path: PathOrFileDescriptor, options?: BufferEncoding | (ObjectEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer', gave the following error. + Argument of type 'string | undefined' is not assignable to parameter of type 'PathOrFileDescriptor'. node_modules/acorn/bin/_acorn.js(51,30): error TS2339: Property 'getToken' does not exist on type 'Parser'. +node_modules/acorn/bin/_acorn.js(56,19): error TS2571: Object is of type 'unknown'. node_modules/acorn/bin/_acorn.js(59,30): error TS2769: No overload matches this call. Overload 1 of 2, '(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string', gave the following error. Argument of type 'null' is not assignable to parameter of type '((this: any, key: string, value: any) => any) | undefined'. Overload 2 of 2, '(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string', gave the following error. Argument of type '2 | null' is not assignable to parameter of type 'string | number | undefined'. node_modules/acorn/bin/_acorn.js(63,23): error TS2769: No overload matches this call. - Overload 1 of 3, '(path: number | PathLike, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'. - Overload 2 of 3, '(path: number | PathLike, options: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): string', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'. - Overload 3 of 3, '(path: number | PathLike, options?: BufferEncoding | (BaseEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer', gave the following error. - Argument of type 'string | undefined' is not assignable to parameter of type 'number | PathLike'. + Overload 1 of 3, '(path: PathOrFileDescriptor, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer', gave the following error. + Argument of type 'string | undefined' is not assignable to parameter of type 'PathOrFileDescriptor'. + Overload 2 of 3, '(path: PathOrFileDescriptor, options: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): string', gave the following error. + Argument of type 'string | undefined' is not assignable to parameter of type 'PathOrFileDescriptor'. + Overload 3 of 3, '(path: PathOrFileDescriptor, options?: BufferEncoding | (ObjectEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer', gave the following error. + Argument of type 'string | undefined' is not assignable to parameter of type 'PathOrFileDescriptor'. node_modules/acorn/bin/run_test262.js(3,21): error TS2307: Cannot find module 'test262-parser-runner' or its corresponding type declarations. node_modules/acorn/dist/acorn.es.js(36,1): error TS2322: Type 'null' is not assignable to type 'string'. node_modules/acorn/dist/acorn.es.js(36,32): error TS2322: Type 'null' is not assignable to type 'string'. @@ -616,6 +632,7 @@ node_modules/acorn/dist/acorn.es.js(2594,22): error TS2339: Property 'parseBlock node_modules/acorn/dist/acorn.es.js(2596,10): error TS2339: Property 'adaptDirectivePrologue' does not exist on type 'parseFunctionBody'. node_modules/acorn/dist/acorn.es.js(2599,8): error TS2339: Property 'exitFunctionScope' does not exist on type 'parseFunctionBody'. node_modules/acorn/dist/acorn.es.js(2603,10): error TS2339: Property 'checkLVal' does not exist on type 'parseFunctionBody'. +node_modules/acorn/dist/acorn.es.js(2651,9): error TS2322: Type 'null' is not assignable to type 'undefined'. node_modules/acorn/dist/acorn.es.js(2717,46): error TS2339: Property 'start' does not exist on type 'parseYield'. node_modules/acorn/dist/acorn.es.js(2719,19): error TS2339: Property 'startNode' does not exist on type 'parseYield'. node_modules/acorn/dist/acorn.es.js(2720,8): error TS2339: Property 'next' does not exist on type 'parseYield'. @@ -681,12 +698,14 @@ node_modules/acorn/dist/acorn.es.js(4638,56): error TS2532: Object is possibly ' node_modules/acorn/dist/acorn.es.js(4639,26): error TS2339: Property 'raise' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.es.js(4639,32): error TS2532: Object is possibly 'undefined'. node_modules/acorn/dist/acorn.es.js(4641,12): error TS2339: Property 'options' does not exist on type 'skipBlockComment'. +node_modules/acorn/dist/acorn.es.js(4642,5): error TS2322: Type 'undefined' is not assignable to type 'number'. node_modules/acorn/dist/acorn.es.js(4644,42): error TS2339: Property 'input' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.es.js(4645,16): error TS2339: Property 'curLine' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.es.js(4646,14): error TS2339: Property 'lineStart' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.es.js(4649,12): error TS2339: Property 'options' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.es.js(4650,12): error TS2339: Property 'options' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.es.js(4650,41): error TS2339: Property 'input' does not exist on type 'skipBlockComment'. +node_modules/acorn/dist/acorn.es.js(4650,53): error TS2532: Object is possibly 'undefined'. node_modules/acorn/dist/acorn.es.js(4651,43): error TS2339: Property 'curPosition' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.es.js(4719,19): error TS2339: Property 'pos' does not exist on type 'finishToken'. node_modules/acorn/dist/acorn.es.js(4720,12): error TS2339: Property 'options' does not exist on type 'finishToken'. @@ -710,6 +729,12 @@ node_modules/acorn/dist/acorn.es.js(4931,32): error TS2339: Property 'unexpected node_modules/acorn/dist/acorn.es.js(4936,8): error TS2339: Property 'validateRegExpFlags' does not exist on type 'readRegexp'. node_modules/acorn/dist/acorn.es.js(4937,8): error TS2339: Property 'validateRegExpPattern' does not exist on type 'readRegexp'. node_modules/acorn/dist/acorn.es.js(4948,15): error TS2339: Property 'finishToken' does not exist on type 'readRegexp'. +node_modules/acorn/dist/acorn.es.js(4961,23): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn.es.js(4962,28): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn.es.js(4963,42): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn.es.js(4964,12): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn.es.js(4965,9): error TS2532: Object is possibly 'undefined'. +node_modules/acorn/dist/acorn.es.js(4967,29): error TS2532: Object is possibly 'undefined'. node_modules/acorn/dist/acorn.es.js(5060,10): error TS2339: Property 'readTmplToken' does not exist on type 'tryReadTemplateToken'. node_modules/acorn/dist/acorn.es.js(5063,12): error TS2339: Property 'readInvalidTemplateToken' does not exist on type 'tryReadTemplateToken'. node_modules/acorn/dist/acorn.es.js(5156,17): error TS2339: Property 'input' does not exist on type 'readEscapedChar'. @@ -872,6 +897,7 @@ node_modules/acorn/dist/acorn.js(2600,22): error TS2339: Property 'parseBlock' d node_modules/acorn/dist/acorn.js(2602,10): error TS2339: Property 'adaptDirectivePrologue' does not exist on type 'parseFunctionBody'. node_modules/acorn/dist/acorn.js(2605,8): error TS2339: Property 'exitFunctionScope' does not exist on type 'parseFunctionBody'. node_modules/acorn/dist/acorn.js(2609,10): error TS2339: Property 'checkLVal' does not exist on type 'parseFunctionBody'. +node_modules/acorn/dist/acorn.js(2657,9): error TS2322: Type 'null' is not assignable to type 'undefined'. node_modules/acorn/dist/acorn.js(2723,46): error TS2339: Property 'start' does not exist on type 'parseYield'. node_modules/acorn/dist/acorn.js(2725,19): error TS2339: Property 'startNode' does not exist on type 'parseYield'. node_modules/acorn/dist/acorn.js(2726,8): error TS2339: Property 'next' does not exist on type 'parseYield'. @@ -937,12 +963,14 @@ node_modules/acorn/dist/acorn.js(4644,56): error TS2532: Object is possibly 'und node_modules/acorn/dist/acorn.js(4645,26): error TS2339: Property 'raise' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.js(4645,32): error TS2532: Object is possibly 'undefined'. node_modules/acorn/dist/acorn.js(4647,12): error TS2339: Property 'options' does not exist on type 'skipBlockComment'. +node_modules/acorn/dist/acorn.js(4648,5): error TS2322: Type 'undefined' is not assignable to type 'number'. node_modules/acorn/dist/acorn.js(4650,42): error TS2339: Property 'input' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.js(4651,16): error TS2339: Property 'curLine' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.js(4652,14): error TS2339: Property 'lineStart' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.js(4655,12): error TS2339: Property 'options' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.js(4656,12): error TS2339: Property 'options' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.js(4656,41): error TS2339: Property 'input' does not exist on type 'skipBlockComment'. +node_modules/acorn/dist/acorn.js(4656,53): error TS2532: Object is possibly 'undefined'. node_modules/acorn/dist/acorn.js(4657,43): error TS2339: Property 'curPosition' does not exist on type 'skipBlockComment'. node_modules/acorn/dist/acorn.js(4725,19): error TS2339: Property 'pos' does not exist on type 'finishToken'. node_modules/acorn/dist/acorn.js(4726,12): error TS2339: Property 'options' does not exist on type 'finishToken'. @@ -966,6 +994,12 @@ node_modules/acorn/dist/acorn.js(4937,32): error TS2339: Property 'unexpected' d node_modules/acorn/dist/acorn.js(4942,8): error TS2339: Property 'validateRegExpFlags' does not exist on type 'readRegexp'. node_modules/acorn/dist/acorn.js(4943,8): error TS2339: Property 'validateRegExpPattern' does not exist on type 'readRegexp'. node_modules/acorn/dist/acorn.js(4954,15): error TS2339: Property 'finishToken' does not exist on type 'readRegexp'. +node_modules/acorn/dist/acorn.js(4967,23): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn.js(4968,28): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn.js(4969,42): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn.js(4970,12): error TS2322: Type 'number' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn.js(4971,9): error TS2532: Object is possibly 'undefined'. +node_modules/acorn/dist/acorn.js(4973,29): error TS2532: Object is possibly 'undefined'. node_modules/acorn/dist/acorn.js(5066,10): error TS2339: Property 'readTmplToken' does not exist on type 'tryReadTemplateToken'. node_modules/acorn/dist/acorn.js(5069,12): error TS2339: Property 'readInvalidTemplateToken' does not exist on type 'tryReadTemplateToken'. node_modules/acorn/dist/acorn.js(5162,17): error TS2339: Property 'input' does not exist on type 'readEscapedChar'. @@ -1057,6 +1091,8 @@ node_modules/acorn/dist/acorn_loose.es.js(309,20): error TS2339: Property 'tok' node_modules/acorn/dist/acorn_loose.es.js(310,12): error TS2339: Property 'options' does not exist on type 'parseTopLevel'. node_modules/acorn/dist/acorn_loose.es.js(311,28): error TS2339: Property 'options' does not exist on type 'parseTopLevel'. node_modules/acorn/dist/acorn_loose.es.js(313,15): error TS2339: Property 'finishNode' does not exist on type 'parseTopLevel'. +node_modules/acorn/dist/acorn_loose.es.js(602,7): error TS2322: Type 'true' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn_loose.es.js(606,7): error TS2322: Type 'false' is not assignable to type 'undefined'. node_modules/acorn/dist/acorn_loose.es.js(640,8): error TS2551: Property 'initFunction' does not exist on type 'parseFunction'. Did you mean 'inFunction'? node_modules/acorn/dist/acorn_loose.es.js(641,12): error TS2339: Property 'options' does not exist on type 'parseFunction'. node_modules/acorn/dist/acorn_loose.es.js(642,27): error TS2339: Property 'eat' does not exist on type 'parseFunction'. @@ -1068,6 +1104,8 @@ node_modules/acorn/dist/acorn_loose.es.js(651,22): error TS2339: Property 'parse node_modules/acorn/dist/acorn_loose.es.js(652,20): error TS2339: Property 'parseBlock' does not exist on type 'parseFunction'. node_modules/acorn/dist/acorn_loose.es.js(653,8): error TS2339: Property 'toks' does not exist on type 'parseFunction'. node_modules/acorn/dist/acorn_loose.es.js(656,15): error TS2339: Property 'finishNode' does not exist on type 'parseFunction'. +node_modules/acorn/dist/acorn_loose.es.js(1167,7): error TS2322: Type 'true' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn_loose.es.js(1171,7): error TS2322: Type 'false' is not assignable to type 'undefined'. node_modules/acorn/dist/acorn_loose.es.js(1311,19): error TS2339: Property 'startNode' does not exist on type 'parseMethod'. node_modules/acorn/dist/acorn_loose.es.js(1312,8): error TS2551: Property 'initFunction' does not exist on type 'parseMethod'. Did you mean 'inFunction'? node_modules/acorn/dist/acorn_loose.es.js(1313,12): error TS2339: Property 'options' does not exist on type 'parseMethod'. @@ -1132,6 +1170,8 @@ node_modules/acorn/dist/acorn_loose.js(313,20): error TS2339: Property 'tok' doe node_modules/acorn/dist/acorn_loose.js(314,12): error TS2339: Property 'options' does not exist on type 'parseTopLevel'. node_modules/acorn/dist/acorn_loose.js(315,28): error TS2339: Property 'options' does not exist on type 'parseTopLevel'. node_modules/acorn/dist/acorn_loose.js(317,15): error TS2339: Property 'finishNode' does not exist on type 'parseTopLevel'. +node_modules/acorn/dist/acorn_loose.js(606,7): error TS2322: Type 'true' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn_loose.js(610,7): error TS2322: Type 'false' is not assignable to type 'undefined'. node_modules/acorn/dist/acorn_loose.js(644,8): error TS2551: Property 'initFunction' does not exist on type 'parseFunction'. Did you mean 'inFunction'? node_modules/acorn/dist/acorn_loose.js(645,12): error TS2339: Property 'options' does not exist on type 'parseFunction'. node_modules/acorn/dist/acorn_loose.js(646,27): error TS2339: Property 'eat' does not exist on type 'parseFunction'. @@ -1143,6 +1183,8 @@ node_modules/acorn/dist/acorn_loose.js(655,22): error TS2339: Property 'parseFun node_modules/acorn/dist/acorn_loose.js(656,20): error TS2339: Property 'parseBlock' does not exist on type 'parseFunction'. node_modules/acorn/dist/acorn_loose.js(657,8): error TS2339: Property 'toks' does not exist on type 'parseFunction'. node_modules/acorn/dist/acorn_loose.js(660,15): error TS2339: Property 'finishNode' does not exist on type 'parseFunction'. +node_modules/acorn/dist/acorn_loose.js(1171,7): error TS2322: Type 'true' is not assignable to type 'undefined'. +node_modules/acorn/dist/acorn_loose.js(1175,7): error TS2322: Type 'false' is not assignable to type 'undefined'. node_modules/acorn/dist/acorn_loose.js(1315,19): error TS2339: Property 'startNode' does not exist on type 'parseMethod'. node_modules/acorn/dist/acorn_loose.js(1316,8): error TS2551: Property 'initFunction' does not exist on type 'parseMethod'. Did you mean 'inFunction'? node_modules/acorn/dist/acorn_loose.js(1317,12): error TS2339: Property 'options' does not exist on type 'parseMethod'. diff --git a/tests/baselines/reference/user/adonis-framework.log b/tests/baselines/reference/user/adonis-framework.log index 714e9306e706d..642d2495dce3d 100644 --- a/tests/baselines/reference/user/adonis-framework.log +++ b/tests/baselines/reference/user/adonis-framework.log @@ -35,18 +35,18 @@ node_modules/adonis-framework/src/Config/index.js(39,15): error TS2304: Cannot f node_modules/adonis-framework/src/Config/index.js(58,15): error TS2304: Cannot find name 'Mixed'. node_modules/adonis-framework/src/Encryption/index.js(53,15): error TS2304: Cannot find name 'Mixed'. node_modules/adonis-framework/src/Encryption/index.js(71,34): error TS2769: No overload matches this call. - Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: Encoding): string', gave the following error. + Overload 1 of 4, '(data: ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string', gave the following error. Argument of type 'string' is not assignable to parameter of type 'undefined'. - Overload 2 of 4, '(data: string, input_encoding: Encoding | undefined, output_encoding: Encoding): string', gave the following error. + Overload 2 of 4, '(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string', gave the following error. Argument of type 'string' is not assignable to parameter of type 'Encoding | undefined'. node_modules/adonis-framework/src/Encryption/index.js(77,27): error TS2322: Type 'string' is not assignable to type 'Buffer'. node_modules/adonis-framework/src/Encryption/index.js(77,50): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. 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. node_modules/adonis-framework/src/Encryption/index.js(87,15): error TS2304: Cannot find name 'Mixed'. node_modules/adonis-framework/src/Encryption/index.js(101,21): error TS2769: No overload matches this call. - Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: Encoding): string', gave the following error. + Overload 1 of 4, '(data: ArrayBufferView, inputEncoding: undefined, outputEncoding: Encoding): string', gave the following error. Argument of type '"base64"' is not assignable to parameter of type 'undefined'. - Overload 2 of 4, '(data: string, input_encoding: Encoding | undefined, output_encoding: Encoding): string', gave the following error. + Overload 2 of 4, '(data: string, inputEncoding: Encoding | undefined, outputEncoding: Encoding): string', gave the following error. Argument of type 'string' is not assignable to parameter of type 'Encoding'. node_modules/adonis-framework/src/Encryption/index.js(102,5): error TS2322: Type 'string' is not assignable to type 'Buffer & string'. Type 'string' is not assignable to type 'Buffer'. @@ -91,6 +91,7 @@ node_modules/adonis-framework/src/Exceptions/index.js(164,14): error TS1056: Acc node_modules/adonis-framework/src/Exceptions/index.js(178,21): error TS2554: Expected 0 arguments, but got 3. node_modules/adonis-framework/src/Exceptions/index.js(191,21): error TS2554: Expected 0 arguments, but got 3. node_modules/adonis-framework/src/Exceptions/index.js(205,21): error TS2554: Expected 0 arguments, but got 3. +node_modules/adonis-framework/src/File/index.js(139,22): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string'. node_modules/adonis-framework/src/File/index.js(175,5): error TS2322: Type 'Promise' is not assignable to type 'boolean'. node_modules/adonis-framework/src/File/index.js(273,5): error TS2322: Type 'string | boolean' is not assignable to type 'boolean'. Type 'string' is not assignable to type 'boolean'. diff --git a/tests/baselines/reference/user/assert.log b/tests/baselines/reference/user/assert.log index 3ff57add9d7f9..a0bcc0698fb7b 100644 --- a/tests/baselines/reference/user/assert.log +++ b/tests/baselines/reference/user/assert.log @@ -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'? @@ -27,7 +27,11 @@ node_modules/assert/test.js(256,55): error TS2345: Argument of type 'TypeError' node_modules/assert/test.js(262,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'? node_modules/assert/test.js(279,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'? node_modules/assert/test.js(285,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'? +node_modules/assert/test.js(290,24): error TS2571: Object is of type 'unknown'. node_modules/assert/test.js(320,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'? +node_modules/assert/test.js(329,22): error TS2571: Object is of type 'unknown'. +node_modules/assert/test.js(336,22): error TS2571: Object is of type 'unknown'. +node_modules/assert/test.js(342,22): error TS2571: Object is of type 'unknown'. node_modules/assert/test.js(346,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'? diff --git a/tests/baselines/reference/user/async.log b/tests/baselines/reference/user/async.log index 28b56cb17f6b7..a8027ebcd7170 100644 --- a/tests/baselines/reference/user/async.log +++ b/tests/baselines/reference/user/async.log @@ -103,7 +103,7 @@ node_modules/async/dist/async.js(31,30): error TS1003: Identifier expected. node_modules/async/dist/async.js(298,7): error TS2454: Variable 'unmasked' is used before being assigned. node_modules/async/dist/async.js(622,80): error TS2339: Property 'nodeType' does not exist on type 'NodeModule'. node_modules/async/dist/async.js(748,84): error TS2339: Property 'nodeType' does not exist on type 'NodeModule'. -node_modules/async/dist/async.js(754,49): error TS2339: Property 'process' does not exist on type 'false | (Global & typeof globalThis)'. +node_modules/async/dist/async.js(754,49): error TS2339: Property 'process' does not exist on type 'false | typeof globalThis'. Property 'process' does not exist on type 'false'. node_modules/async/dist/async.js(923,32): error TS2554: Expected 2 arguments, but got 1. node_modules/async/dist/async.js(1028,9): error TS1003: Identifier expected. @@ -366,204 +366,6 @@ node_modules/async/groupByLimit.js(63,12): error TS2304: Cannot find name 'Async node_modules/async/groupBySeries.js(24,9): error TS1003: Identifier expected. node_modules/async/groupBySeries.js(28,12): error TS2304: Cannot find name 'AsyncFunction'. node_modules/async/groupBySeries.js(36,20): error TS2695: Left side of comma operator is unused and has no side effects. -node_modules/async/index.js(6,1): error TS2323: Cannot redeclare exported variable 'wrapSync'. -node_modules/async/index.js(6,20): error TS2323: Cannot redeclare exported variable 'selectSeries'. -node_modules/async/index.js(6,43): error TS2323: Cannot redeclare exported variable 'selectLimit'. -node_modules/async/index.js(6,65): error TS2323: Cannot redeclare exported variable 'select'. -node_modules/async/index.js(6,82): error TS2323: Cannot redeclare exported variable 'foldr'. -node_modules/async/index.js(6,98): error TS2323: Cannot redeclare exported variable 'foldl'. -node_modules/async/index.js(6,114): error TS2323: Cannot redeclare exported variable 'inject'. -node_modules/async/index.js(6,131): error TS2323: Cannot redeclare exported variable 'forEachOfLimit'. -node_modules/async/index.js(6,156): error TS2323: Cannot redeclare exported variable 'forEachOfSeries'. -node_modules/async/index.js(6,182): error TS2323: Cannot redeclare exported variable 'forEachOf'. -node_modules/async/index.js(6,202): error TS2323: Cannot redeclare exported variable 'forEachLimit'. -node_modules/async/index.js(6,225): error TS2323: Cannot redeclare exported variable 'forEachSeries'. -node_modules/async/index.js(6,249): error TS2323: Cannot redeclare exported variable 'forEach'. -node_modules/async/index.js(6,267): error TS2323: Cannot redeclare exported variable 'findSeries'. -node_modules/async/index.js(6,288): error TS2323: Cannot redeclare exported variable 'findLimit'. -node_modules/async/index.js(6,308): error TS2323: Cannot redeclare exported variable 'find'. -node_modules/async/index.js(6,323): error TS2323: Cannot redeclare exported variable 'anySeries'. -node_modules/async/index.js(6,343): error TS2323: Cannot redeclare exported variable 'anyLimit'. -node_modules/async/index.js(6,362): error TS2323: Cannot redeclare exported variable 'any'. -node_modules/async/index.js(6,376): error TS2323: Cannot redeclare exported variable 'allSeries'. -node_modules/async/index.js(6,396): error TS2323: Cannot redeclare exported variable 'allLimit'. -node_modules/async/index.js(6,415): error TS2323: Cannot redeclare exported variable 'all'. -node_modules/async/index.js(6,429): error TS2323: Cannot redeclare exported variable 'whilst'. -node_modules/async/index.js(6,446): error TS2323: Cannot redeclare exported variable 'waterfall'. -node_modules/async/index.js(6,466): error TS2323: Cannot redeclare exported variable 'until'. -node_modules/async/index.js(6,482): error TS2323: Cannot redeclare exported variable 'unmemoize'. -node_modules/async/index.js(6,502): error TS2323: Cannot redeclare exported variable 'tryEach'. -node_modules/async/index.js(6,520): error TS2323: Cannot redeclare exported variable 'transform'. -node_modules/async/index.js(6,540): error TS2323: Cannot redeclare exported variable 'timesSeries'. -node_modules/async/index.js(6,562): error TS2323: Cannot redeclare exported variable 'timesLimit'. -node_modules/async/index.js(6,583): error TS2323: Cannot redeclare exported variable 'times'. -node_modules/async/index.js(6,599): error TS2323: Cannot redeclare exported variable 'timeout'. -node_modules/async/index.js(6,617): error TS2323: Cannot redeclare exported variable 'sortBy'. -node_modules/async/index.js(6,634): error TS2323: Cannot redeclare exported variable 'someSeries'. -node_modules/async/index.js(6,655): error TS2323: Cannot redeclare exported variable 'someLimit'. -node_modules/async/index.js(6,675): error TS2323: Cannot redeclare exported variable 'some'. -node_modules/async/index.js(6,690): error TS2323: Cannot redeclare exported variable 'setImmediate'. -node_modules/async/index.js(6,713): error TS2323: Cannot redeclare exported variable 'series'. -node_modules/async/index.js(6,730): error TS2323: Cannot redeclare exported variable 'seq'. -node_modules/async/index.js(6,744): error TS2323: Cannot redeclare exported variable 'retryable'. -node_modules/async/index.js(6,764): error TS2323: Cannot redeclare exported variable 'retry'. -node_modules/async/index.js(6,780): error TS2323: Cannot redeclare exported variable 'rejectSeries'. -node_modules/async/index.js(6,803): error TS2323: Cannot redeclare exported variable 'rejectLimit'. -node_modules/async/index.js(6,825): error TS2323: Cannot redeclare exported variable 'reject'. -node_modules/async/index.js(6,842): error TS2323: Cannot redeclare exported variable 'reflectAll'. -node_modules/async/index.js(6,863): error TS2323: Cannot redeclare exported variable 'reflect'. -node_modules/async/index.js(6,881): error TS2323: Cannot redeclare exported variable 'reduceRight'. -node_modules/async/index.js(6,903): error TS2323: Cannot redeclare exported variable 'reduce'. -node_modules/async/index.js(6,920): error TS2323: Cannot redeclare exported variable 'race'. -node_modules/async/index.js(6,935): error TS2323: Cannot redeclare exported variable 'queue'. -node_modules/async/index.js(6,951): error TS2323: Cannot redeclare exported variable 'priorityQueue'. -node_modules/async/index.js(6,975): error TS2323: Cannot redeclare exported variable 'parallelLimit'. -node_modules/async/index.js(6,999): error TS2323: Cannot redeclare exported variable 'parallel'. -node_modules/async/index.js(6,1018): error TS2323: Cannot redeclare exported variable 'nextTick'. -node_modules/async/index.js(6,1037): error TS2323: Cannot redeclare exported variable 'memoize'. -node_modules/async/index.js(6,1055): error TS2323: Cannot redeclare exported variable 'mapValuesSeries'. -node_modules/async/index.js(6,1081): error TS2323: Cannot redeclare exported variable 'mapValuesLimit'. -node_modules/async/index.js(6,1106): error TS2323: Cannot redeclare exported variable 'mapValues'. -node_modules/async/index.js(6,1126): error TS2323: Cannot redeclare exported variable 'mapSeries'. -node_modules/async/index.js(6,1146): error TS2323: Cannot redeclare exported variable 'mapLimit'. -node_modules/async/index.js(6,1165): error TS2323: Cannot redeclare exported variable 'map'. -node_modules/async/index.js(6,1179): error TS2323: Cannot redeclare exported variable 'log'. -node_modules/async/index.js(6,1193): error TS2323: Cannot redeclare exported variable 'groupBySeries'. -node_modules/async/index.js(6,1217): error TS2323: Cannot redeclare exported variable 'groupByLimit'. -node_modules/async/index.js(6,1240): error TS2323: Cannot redeclare exported variable 'groupBy'. -node_modules/async/index.js(6,1258): error TS2323: Cannot redeclare exported variable 'forever'. -node_modules/async/index.js(6,1276): error TS2323: Cannot redeclare exported variable 'filterSeries'. -node_modules/async/index.js(6,1299): error TS2323: Cannot redeclare exported variable 'filterLimit'. -node_modules/async/index.js(6,1321): error TS2323: Cannot redeclare exported variable 'filter'. -node_modules/async/index.js(6,1338): error TS2323: Cannot redeclare exported variable 'everySeries'. -node_modules/async/index.js(6,1360): error TS2323: Cannot redeclare exported variable 'everyLimit'. -node_modules/async/index.js(6,1381): error TS2323: Cannot redeclare exported variable 'every'. -node_modules/async/index.js(6,1397): error TS2323: Cannot redeclare exported variable 'ensureAsync'. -node_modules/async/index.js(6,1419): error TS2323: Cannot redeclare exported variable 'eachSeries'. -node_modules/async/index.js(6,1440): error TS2323: Cannot redeclare exported variable 'eachOfSeries'. -node_modules/async/index.js(6,1463): error TS2323: Cannot redeclare exported variable 'eachOfLimit'. -node_modules/async/index.js(6,1485): error TS2323: Cannot redeclare exported variable 'eachOf'. -node_modules/async/index.js(6,1502): error TS2323: Cannot redeclare exported variable 'eachLimit'. -node_modules/async/index.js(6,1522): error TS2323: Cannot redeclare exported variable 'each'. -node_modules/async/index.js(6,1537): error TS2323: Cannot redeclare exported variable 'during'. -node_modules/async/index.js(6,1554): error TS2323: Cannot redeclare exported variable 'doWhilst'. -node_modules/async/index.js(6,1573): error TS2323: Cannot redeclare exported variable 'doUntil'. -node_modules/async/index.js(6,1591): error TS2323: Cannot redeclare exported variable 'doDuring'. -node_modules/async/index.js(6,1610): error TS2323: Cannot redeclare exported variable 'dir'. -node_modules/async/index.js(6,1624): error TS2323: Cannot redeclare exported variable 'detectSeries'. -node_modules/async/index.js(6,1647): error TS2323: Cannot redeclare exported variable 'detectLimit'. -node_modules/async/index.js(6,1669): error TS2323: Cannot redeclare exported variable 'detect'. -node_modules/async/index.js(6,1686): error TS2323: Cannot redeclare exported variable 'constant'. -node_modules/async/index.js(6,1705): error TS2323: Cannot redeclare exported variable 'concatSeries'. -node_modules/async/index.js(6,1728): error TS2323: Cannot redeclare exported variable 'concatLimit'. -node_modules/async/index.js(6,1750): error TS2323: Cannot redeclare exported variable 'concat'. -node_modules/async/index.js(6,1767): error TS2323: Cannot redeclare exported variable 'compose'. -node_modules/async/index.js(6,1785): error TS2323: Cannot redeclare exported variable 'cargo'. -node_modules/async/index.js(6,1801): error TS2323: Cannot redeclare exported variable 'autoInject'. -node_modules/async/index.js(6,1822): error TS2323: Cannot redeclare exported variable 'auto'. -node_modules/async/index.js(6,1837): error TS2323: Cannot redeclare exported variable 'asyncify'. -node_modules/async/index.js(6,1856): error TS2323: Cannot redeclare exported variable 'applyEachSeries'. -node_modules/async/index.js(6,1882): error TS2323: Cannot redeclare exported variable 'applyEach'. -node_modules/async/index.js(6,1902): error TS2323: Cannot redeclare exported variable 'apply'. -node_modules/async/index.js(484,1): error TS2323: Cannot redeclare exported variable 'apply'. -node_modules/async/index.js(485,1): error TS2323: Cannot redeclare exported variable 'applyEach'. -node_modules/async/index.js(486,1): error TS2323: Cannot redeclare exported variable 'applyEachSeries'. -node_modules/async/index.js(487,1): error TS2323: Cannot redeclare exported variable 'asyncify'. -node_modules/async/index.js(488,1): error TS2323: Cannot redeclare exported variable 'auto'. -node_modules/async/index.js(489,1): error TS2323: Cannot redeclare exported variable 'autoInject'. -node_modules/async/index.js(490,1): error TS2323: Cannot redeclare exported variable 'cargo'. -node_modules/async/index.js(491,1): error TS2323: Cannot redeclare exported variable 'compose'. -node_modules/async/index.js(492,1): error TS2323: Cannot redeclare exported variable 'concat'. -node_modules/async/index.js(493,1): error TS2323: Cannot redeclare exported variable 'concatLimit'. -node_modules/async/index.js(494,1): error TS2323: Cannot redeclare exported variable 'concatSeries'. -node_modules/async/index.js(495,1): error TS2323: Cannot redeclare exported variable 'constant'. -node_modules/async/index.js(496,1): error TS2323: Cannot redeclare exported variable 'detect'. -node_modules/async/index.js(497,1): error TS2323: Cannot redeclare exported variable 'detectLimit'. -node_modules/async/index.js(498,1): error TS2323: Cannot redeclare exported variable 'detectSeries'. -node_modules/async/index.js(499,1): error TS2323: Cannot redeclare exported variable 'dir'. -node_modules/async/index.js(500,1): error TS2323: Cannot redeclare exported variable 'doDuring'. -node_modules/async/index.js(501,1): error TS2323: Cannot redeclare exported variable 'doUntil'. -node_modules/async/index.js(502,1): error TS2323: Cannot redeclare exported variable 'doWhilst'. -node_modules/async/index.js(503,1): error TS2323: Cannot redeclare exported variable 'during'. -node_modules/async/index.js(504,1): error TS2323: Cannot redeclare exported variable 'each'. -node_modules/async/index.js(505,1): error TS2323: Cannot redeclare exported variable 'eachLimit'. -node_modules/async/index.js(506,1): error TS2323: Cannot redeclare exported variable 'eachOf'. -node_modules/async/index.js(507,1): error TS2323: Cannot redeclare exported variable 'eachOfLimit'. -node_modules/async/index.js(508,1): error TS2323: Cannot redeclare exported variable 'eachOfSeries'. -node_modules/async/index.js(509,1): error TS2323: Cannot redeclare exported variable 'eachSeries'. -node_modules/async/index.js(510,1): error TS2323: Cannot redeclare exported variable 'ensureAsync'. -node_modules/async/index.js(511,1): error TS2323: Cannot redeclare exported variable 'every'. -node_modules/async/index.js(512,1): error TS2323: Cannot redeclare exported variable 'everyLimit'. -node_modules/async/index.js(513,1): error TS2323: Cannot redeclare exported variable 'everySeries'. -node_modules/async/index.js(514,1): error TS2323: Cannot redeclare exported variable 'filter'. -node_modules/async/index.js(515,1): error TS2323: Cannot redeclare exported variable 'filterLimit'. -node_modules/async/index.js(516,1): error TS2323: Cannot redeclare exported variable 'filterSeries'. -node_modules/async/index.js(517,1): error TS2323: Cannot redeclare exported variable 'forever'. -node_modules/async/index.js(518,1): error TS2323: Cannot redeclare exported variable 'groupBy'. -node_modules/async/index.js(519,1): error TS2323: Cannot redeclare exported variable 'groupByLimit'. -node_modules/async/index.js(520,1): error TS2323: Cannot redeclare exported variable 'groupBySeries'. -node_modules/async/index.js(521,1): error TS2323: Cannot redeclare exported variable 'log'. -node_modules/async/index.js(522,1): error TS2323: Cannot redeclare exported variable 'map'. -node_modules/async/index.js(523,1): error TS2323: Cannot redeclare exported variable 'mapLimit'. -node_modules/async/index.js(524,1): error TS2323: Cannot redeclare exported variable 'mapSeries'. -node_modules/async/index.js(525,1): error TS2323: Cannot redeclare exported variable 'mapValues'. -node_modules/async/index.js(526,1): error TS2323: Cannot redeclare exported variable 'mapValuesLimit'. -node_modules/async/index.js(527,1): error TS2323: Cannot redeclare exported variable 'mapValuesSeries'. -node_modules/async/index.js(528,1): error TS2323: Cannot redeclare exported variable 'memoize'. -node_modules/async/index.js(529,1): error TS2323: Cannot redeclare exported variable 'nextTick'. -node_modules/async/index.js(530,1): error TS2323: Cannot redeclare exported variable 'parallel'. -node_modules/async/index.js(531,1): error TS2323: Cannot redeclare exported variable 'parallelLimit'. -node_modules/async/index.js(532,1): error TS2323: Cannot redeclare exported variable 'priorityQueue'. -node_modules/async/index.js(533,1): error TS2323: Cannot redeclare exported variable 'queue'. -node_modules/async/index.js(534,1): error TS2323: Cannot redeclare exported variable 'race'. -node_modules/async/index.js(535,1): error TS2323: Cannot redeclare exported variable 'reduce'. -node_modules/async/index.js(536,1): error TS2323: Cannot redeclare exported variable 'reduceRight'. -node_modules/async/index.js(537,1): error TS2323: Cannot redeclare exported variable 'reflect'. -node_modules/async/index.js(538,1): error TS2323: Cannot redeclare exported variable 'reflectAll'. -node_modules/async/index.js(539,1): error TS2323: Cannot redeclare exported variable 'reject'. -node_modules/async/index.js(540,1): error TS2323: Cannot redeclare exported variable 'rejectLimit'. -node_modules/async/index.js(541,1): error TS2323: Cannot redeclare exported variable 'rejectSeries'. -node_modules/async/index.js(542,1): error TS2323: Cannot redeclare exported variable 'retry'. -node_modules/async/index.js(543,1): error TS2323: Cannot redeclare exported variable 'retryable'. -node_modules/async/index.js(544,1): error TS2323: Cannot redeclare exported variable 'seq'. -node_modules/async/index.js(545,1): error TS2323: Cannot redeclare exported variable 'series'. -node_modules/async/index.js(546,1): error TS2323: Cannot redeclare exported variable 'setImmediate'. -node_modules/async/index.js(547,1): error TS2323: Cannot redeclare exported variable 'some'. -node_modules/async/index.js(548,1): error TS2323: Cannot redeclare exported variable 'someLimit'. -node_modules/async/index.js(549,1): error TS2323: Cannot redeclare exported variable 'someSeries'. -node_modules/async/index.js(550,1): error TS2323: Cannot redeclare exported variable 'sortBy'. -node_modules/async/index.js(551,1): error TS2323: Cannot redeclare exported variable 'timeout'. -node_modules/async/index.js(552,1): error TS2323: Cannot redeclare exported variable 'times'. -node_modules/async/index.js(553,1): error TS2323: Cannot redeclare exported variable 'timesLimit'. -node_modules/async/index.js(554,1): error TS2323: Cannot redeclare exported variable 'timesSeries'. -node_modules/async/index.js(555,1): error TS2323: Cannot redeclare exported variable 'transform'. -node_modules/async/index.js(556,1): error TS2323: Cannot redeclare exported variable 'tryEach'. -node_modules/async/index.js(557,1): error TS2323: Cannot redeclare exported variable 'unmemoize'. -node_modules/async/index.js(558,1): error TS2323: Cannot redeclare exported variable 'until'. -node_modules/async/index.js(559,1): error TS2323: Cannot redeclare exported variable 'waterfall'. -node_modules/async/index.js(560,1): error TS2323: Cannot redeclare exported variable 'whilst'. -node_modules/async/index.js(561,1): error TS2323: Cannot redeclare exported variable 'all'. -node_modules/async/index.js(562,1): error TS2323: Cannot redeclare exported variable 'allLimit'. -node_modules/async/index.js(563,1): error TS2323: Cannot redeclare exported variable 'allSeries'. -node_modules/async/index.js(564,1): error TS2323: Cannot redeclare exported variable 'any'. -node_modules/async/index.js(565,1): error TS2323: Cannot redeclare exported variable 'anyLimit'. -node_modules/async/index.js(566,1): error TS2323: Cannot redeclare exported variable 'anySeries'. -node_modules/async/index.js(567,1): error TS2323: Cannot redeclare exported variable 'find'. -node_modules/async/index.js(568,1): error TS2323: Cannot redeclare exported variable 'findLimit'. -node_modules/async/index.js(569,1): error TS2323: Cannot redeclare exported variable 'findSeries'. -node_modules/async/index.js(570,1): error TS2323: Cannot redeclare exported variable 'forEach'. -node_modules/async/index.js(571,1): error TS2323: Cannot redeclare exported variable 'forEachSeries'. -node_modules/async/index.js(572,1): error TS2323: Cannot redeclare exported variable 'forEachLimit'. -node_modules/async/index.js(573,1): error TS2323: Cannot redeclare exported variable 'forEachOf'. -node_modules/async/index.js(574,1): error TS2323: Cannot redeclare exported variable 'forEachOfSeries'. -node_modules/async/index.js(575,1): error TS2323: Cannot redeclare exported variable 'forEachOfLimit'. -node_modules/async/index.js(576,1): error TS2323: Cannot redeclare exported variable 'inject'. -node_modules/async/index.js(577,1): error TS2323: Cannot redeclare exported variable 'foldl'. -node_modules/async/index.js(578,1): error TS2323: Cannot redeclare exported variable 'foldr'. -node_modules/async/index.js(579,1): error TS2323: Cannot redeclare exported variable 'select'. -node_modules/async/index.js(580,1): error TS2323: Cannot redeclare exported variable 'selectLimit'. -node_modules/async/index.js(581,1): error TS2323: Cannot redeclare exported variable 'selectSeries'. -node_modules/async/index.js(582,1): error TS2323: Cannot redeclare exported variable 'wrapSync'. node_modules/async/inject.js(46,12): error TS2304: Cannot find name 'AsyncFunction'. node_modules/async/inject.js(67,17): error TS2695: Left side of comma operator is unused and has no side effects. node_modules/async/inject.js(68,22): error TS2695: Left side of comma operator is unused and has no side effects. @@ -602,15 +404,8 @@ node_modules/async/internal/queue.js(94,30): error TS2695: Left side of comma op node_modules/async/internal/queue.js(174,27): error TS2695: Left side of comma operator is unused and has no side effects. node_modules/async/internal/queue.js(199,14): error TS2695: Left side of comma operator is unused and has no side effects. node_modules/async/internal/reject.js(15,6): error TS2695: Left side of comma operator is unused and has no side effects. -node_modules/async/internal/setImmediate.js(6,1): error TS2323: Cannot redeclare exported variable 'hasNextTick'. -node_modules/async/internal/setImmediate.js(6,23): error TS2323: Cannot redeclare exported variable 'hasSetImmediate'. -node_modules/async/internal/setImmediate.js(16,23): error TS2323: Cannot redeclare exported variable 'hasSetImmediate'. -node_modules/async/internal/setImmediate.js(17,19): error TS2323: Cannot redeclare exported variable 'hasNextTick'. node_modules/async/internal/setImmediate.js(25,21): error TS2695: Left side of comma operator is unused and has no side effects. -node_modules/async/internal/wrapAsync.js(6,1): error TS2323: Cannot redeclare exported variable 'isAsync'. node_modules/async/internal/wrapAsync.js(21,32): error TS2695: Left side of comma operator is unused and has no side effects. -node_modules/async/internal/wrapAsync.js(25,1): error TS2322: Type '(fn: any) => boolean' is not assignable to type 'undefined'. -node_modules/async/internal/wrapAsync.js(25,1): error TS2323: Cannot redeclare exported variable 'isAsync'. node_modules/async/log.js(24,12): error TS2304: Cannot find name 'AsyncFunction'. node_modules/async/log.js(26,28): error TS1003: Identifier expected. node_modules/async/log.js(26,29): error TS1003: Identifier expected. diff --git a/tests/baselines/reference/user/axios-src.log b/tests/baselines/reference/user/axios-src.log index 8b4a3abc6cb0f..2f52092ee240f 100644 --- a/tests/baselines/reference/user/axios-src.log +++ b/tests/baselines/reference/user/axios-src.log @@ -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'. @@ -50,8 +53,14 @@ lib/core/enhanceError.js(34,26): error TS2339: Property 'columnNumber' does not lib/core/enhanceError.js(37,20): error TS2339: Property 'config' does not exist on type 'Error'. lib/core/enhanceError.js(38,18): error TS2339: Property 'code' does not exist on type 'Error'. lib/core/settle.js(20,7): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. +lib/defaults.js(77,15): error TS2571: Object is of type 'unknown'. +lib/defaults.js(78,32): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'Error'. 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. diff --git a/tests/baselines/reference/user/bluebird.log b/tests/baselines/reference/user/bluebird.log index c43a6ad9235df..b67cfc9bb7445 100644 --- a/tests/baselines/reference/user/bluebird.log +++ b/tests/baselines/reference/user/bluebird.log @@ -5,7 +5,7 @@ node_modules/bluebird/js/release/bluebird.js(5,15): error TS2367: This condition node_modules/bluebird/js/release/bluebird.js(10,10): error TS2339: Property 'noConflict' does not exist on type 'typeof Promise'. 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', but here has type 'Event'. node_modules/bluebird/js/release/debuggability.js(232,26): error TS2339: Property 'detail' does not exist on type 'Event'. -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]'. +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]'. node_modules/bluebird/js/release/debuggability.js(301,9): error TS2322: Type 'Process' is not assignable to type 'boolean'. 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'. 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 node_modules/bluebird/js/release/debuggability.js(825,30): error TS2339: Property 'stack' does not exist on type 'CapturedTrace'. node_modules/bluebird/js/release/debuggability.js(831,37): error TS2339: Property 'stack' does not exist on type 'CapturedTrace'. node_modules/bluebird/js/release/debuggability.js(870,38): error TS2339: Property 'stack' does not exist on type 'CapturedTrace'. +node_modules/bluebird/js/release/debuggability.js(922,42): error TS2571: Object is of type 'unknown'. +node_modules/bluebird/js/release/debuggability.js(931,34): error TS2571: Object is of type 'unknown'. node_modules/bluebird/js/release/debuggability.js(950,4): error TS2554: Expected 0 arguments, but got 1. node_modules/bluebird/js/release/errors.js(10,49): error TS2350: Only a void function can be called with the 'new' keyword. 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 node_modules/bluebird/js/release/promise.js(4,12): error TS2350: Only a void function can be called with the 'new' keyword. node_modules/bluebird/js/release/promise.js(7,24): error TS2339: Property 'PromiseInspection' does not exist on type 'typeof Promise'. node_modules/bluebird/js/release/promise.js(10,27): error TS2350: Only a void function can be called with the 'new' keyword. +node_modules/bluebird/js/release/promise.js(18,26): error TS2339: Property 'domain' does not exist on type 'Process'. node_modules/bluebird/js/release/promise.js(38,20): error TS2531: Object is possibly 'null'. -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; })'. - Type '() => { domain: Domain | null; async: AsyncResource; }' is not assignable to type '() => null'. - Type '{ domain: NodeJS.Domain | null; async: AsyncResource; }' is not assignable to type 'null'. +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; })'. + Type '() => { domain: any; async: AsyncResource; }' is not assignable to type '() => null'. + Type '{ domain: any; async: AsyncResource; }' is not assignable to type 'null'. node_modules/bluebird/js/release/promise.js(86,15): error TS2350: Only a void function can be called with the 'new' keyword. node_modules/bluebird/js/release/promise.js(89,15): error TS2350: Only a void function can be called with the 'new' keyword. 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 node_modules/bluebird/js/release/using.js(92,14): error TS2339: Property 'constructor$' does not exist on type 'FunctionDisposer'. node_modules/bluebird/js/release/using.js(97,23): error TS2339: Property 'data' does not exist on type 'FunctionDisposer'. node_modules/bluebird/js/release/using.js(223,15): error TS2350: Only a void function can be called with the 'new' keyword. +node_modules/bluebird/js/release/util.js(18,9): error TS2322: Type 'unknown' is not assignable to type '{}'. node_modules/bluebird/js/release/util.js(405,13): error TS2532: Object is possibly 'undefined'. node_modules/bluebird/js/release/util.js(405,33): error TS2532: Object is possibly 'undefined'. node_modules/bluebird/js/release/util.js(405,54): error TS2532: Object is possibly 'undefined'. diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index 5bc485cfcd266..3a208eb78a26b 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -9,10 +9,9 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(147,37): error TS2339 node_modules/chrome-devtools-frontend/front_end/Runtime.js(270,9): error TS2322: Type 'Promise' is not assignable to type 'Promise'. Type 'void' is not assignable to type 'undefined'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(280,5): error TS2322: Type 'Promise' is not assignable to type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/Runtime.js(283,12): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/Runtime.js(525,9): error TS2322: Type 'Window' is not assignable to type 'Window & typeof globalThis'. - Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 825 more. -node_modules/chrome-devtools-frontend/front_end/Runtime.js(527,49): error TS2352: Conversion of type 'Window & typeof globalThis' to type 'new () => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. + Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 757 more. +node_modules/chrome-devtools-frontend/front_end/Runtime.js(527,55): error TS2352: Conversion of type 'Window & typeof globalThis' to type 'new () => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'Window & typeof globalThis' provides no match for the signature 'new (): any'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(539,24): error TS2351: This expression is not constructable. Type 'Function' has no construct signatures. @@ -22,7 +21,7 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(705,5): error TS2322: node_modules/chrome-devtools-frontend/front_end/Runtime.js(715,7): error TS2322: Type 'Promise' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(729,7): error TS2322: Type 'Promise' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(746,5): error TS2322: Type 'Window | {}' is not assignable to type 'Window'. - Type '{}' is missing the following properties from type 'Window': applicationCache, clientInformation, closed, customElements, and 207 more. + Type '{}' is missing the following properties from type 'Window': HTMLDocument, closed, customElements, devicePixelRatio, and 189 more. node_modules/chrome-devtools-frontend/front_end/Runtime.js(1083,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/Runtime.js(1088,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/Tests.js(203,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -143,8 +142,8 @@ node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(391,50): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(393,50): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(396,27): error TS2339: Property 'focus' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(447,26): error TS2339: Property 'breadcrumb' does not exist on type 'ChildNode'. -node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(457,30): error TS2339: Property 'breadcrumb' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(447,26): error TS2339: Property 'breadcrumb' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(457,30): error TS2339: Property 'breadcrumb' does not exist on type 'ChildNode & Node'. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(473,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(481,17): error TS2339: Property 'setTextContentTruncatedIfNeeded' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(488,40): error TS2345: Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string | string[]'. @@ -278,7 +277,7 @@ node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(811, node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(7,11): error TS2339: Property 'AnimationScreenshotPopover' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'. node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(13,20): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'. node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(18,39): error TS2345: Argument of type 'new (width?: number, height?: number) => HTMLImageElement' is not assignable to parameter of type 'Node'. - Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'Node': baseURI, childNodes, firstChild, isConnected, and 47 more. + Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'Node': baseURI, childNodes, firstChild, isConnected, and 46 more. node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(19,13): error TS2339: Property 'style' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'. node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(22,21): error TS2339: Property 'style' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'. node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(23,45): error TS2339: Property 'createChild' does not exist on type 'Element'. @@ -442,6 +441,13 @@ node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(387,11) node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(394,11): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'. node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(402,11): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'. node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(53,47): error TS2339: Property 'resources' does not exist on type 'any[]'. +node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(91,21): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(92,21): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(93,21): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(94,21): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(95,21): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(96,21): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(97,57): error TS2304: Cannot find name 'applicationCache'. node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(102,25): error TS2339: Property 'resources' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(130,39): error TS2339: Property 'resources' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(131,36): error TS2339: Property 'resources' does not exist on type 'any[]'. @@ -496,6 +502,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(363,57): Type 'TemplateStringsArray' is not assignable to type 'string[]'. node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(379,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(399,15): error TS2503: Cannot find namespace 'ReportRenderer'. +node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(424,13): error TS2339: Property 'file' does not exist on type 'FileSystemEntry'. node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(439,37): error TS2503: Cannot find namespace 'ReportRenderer'. node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(463,38): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(553,32): error TS2345: Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string | string[]'. @@ -572,17 +579,17 @@ node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/crc- node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/crc-details-renderer.js(161,9): error TS2304: Cannot find name 'Util'. node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/crc-details-renderer.js(184,8): error TS2339: Property 'CriticalRequestChainRenderer' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(12,15): error TS2304: Cannot find name 'DOM'. -node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(41,42): error TS2352: Conversion of type 'DetailsJSON' to type 'ThumbnailDetails' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(41,49): error TS2352: Conversion of type 'DetailsJSON' to type 'ThumbnailDetails' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'DetailsJSON' is missing the following properties from type 'ThumbnailDetails': url, mimeType -node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(43,42): error TS2352: Conversion of type 'DetailsJSON' to type 'FilmstripDetails' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(43,49): error TS2352: Conversion of type 'DetailsJSON' to type 'FilmstripDetails' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'DetailsJSON' is missing the following properties from type 'FilmstripDetails': scale, items -node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(45,38): error TS2352: Conversion of type 'DetailsJSON' to type 'CardsDetailsJSON' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(45,45): error TS2352: Conversion of type 'DetailsJSON' to type 'CardsDetailsJSON' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'DetailsJSON' is missing the following properties from type 'CardsDetailsJSON': header, items -node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(47,38): error TS2352: Conversion of type 'DetailsJSON' to type 'TableDetailsJSON' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(47,45): error TS2352: Conversion of type 'DetailsJSON' to type 'TableDetailsJSON' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'DetailsJSON' is missing the following properties from type 'TableDetailsJSON': header, items, itemHeaders node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(53,16): error TS2304: Cannot find name 'CriticalRequestChainRenderer'. node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(54,23): error TS2503: Cannot find namespace 'CriticalRequestChainRenderer'. -node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(56,37): error TS2352: Conversion of type 'DetailsJSON' to type 'ListDetailsJSON' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(56,44): error TS2352: Conversion of type 'DetailsJSON' to type 'ListDetailsJSON' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'DetailsJSON' is missing the following properties from type 'ListDetailsJSON': header, items node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(73,22): error TS2304: Cannot find name 'Util'. node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/details-renderer.js(77,25): error TS1196: Catch clause variable type annotation must be 'any' or 'unknown' if specified. @@ -630,12 +637,12 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(90,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'Audits2Service' does not extend another class. node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(113,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(128,1): error TS2741: Property 'isVinn' is missing in type 'Window & typeof globalThis' but required in type 'typeof global'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,1): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,76): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,97): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,1): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,76): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,97): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,203): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,380): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,401): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,380): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,401): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(15,24): error TS2792: Cannot find module './axe-audit'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(49,24): error TS2792: Cannot find module './axe-audit'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(83,24): error TS2792: Cannot find module './axe-audit'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? @@ -1094,7 +1101,6 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21003,8): error TS2350: Only a void function can be called with the 'new' keyword. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21007,8): error TS2350: Only a void function can be called with the 'new' keyword. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21011,8): error TS2350: Only a void function can be called with the 'new' keyword. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21017,1): error TS2323: Cannot redeclare exported variable 'deflate'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21022,19): error TS2350: Only a void function can be called with the 'new' keyword. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21026,23): error TS2350: Only a void function can be called with the 'new' keyword. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21034,19): error TS2350: Only a void function can be called with the 'new' keyword. @@ -1179,36 +1185,13 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23247,18): error TS2339: Property 'length' does not exist on type 'Buffer'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23247,37): error TS2339: Property 'length' does not exist on type 'Buffer'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23256,26): error TS2339: Property 'length' does not exist on type 'Buffer'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23459,1): error TS2323: Cannot redeclare exported variable 'isArray'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23464,1): error TS2323: Cannot redeclare exported variable 'isBoolean'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23469,1): error TS2323: Cannot redeclare exported variable 'isNull'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23474,1): error TS2323: Cannot redeclare exported variable 'isNullOrUndefined'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23479,1): error TS2323: Cannot redeclare exported variable 'isNumber'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23484,1): error TS2323: Cannot redeclare exported variable 'isString'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23489,1): error TS2323: Cannot redeclare exported variable 'isSymbol'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23494,1): error TS2323: Cannot redeclare exported variable 'isUndefined'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23499,1): error TS2323: Cannot redeclare exported variable 'isRegExp'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23504,1): error TS2323: Cannot redeclare exported variable 'isObject'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23509,1): error TS2323: Cannot redeclare exported variable 'isDate'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23514,1): error TS2323: Cannot redeclare exported variable 'isError'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23519,1): error TS2323: Cannot redeclare exported variable 'isFunction'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23529,1): error TS2323: Cannot redeclare exported variable 'isPrimitive'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23531,1): error TS2323: Cannot redeclare exported variable 'isBuffer'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(23601,5): error TS2339: Property 'context' does not exist on type 'Error'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(24073,1): error TS2323: Cannot redeclare exported variable 'Buf8'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(24074,1): error TS2323: Cannot redeclare exported variable 'Buf16'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(24075,1): error TS2323: Cannot redeclare exported variable 'Buf32'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(24078,1): error TS2323: Cannot redeclare exported variable 'Buf8'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(24079,1): error TS2323: Cannot redeclare exported variable 'Buf16'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(24080,1): error TS2323: Cannot redeclare exported variable 'Buf32'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(24219,19): error TS2792: Cannot find module '../utils/common'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(24220,19): error TS2792: Cannot find module './trees'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(24221,21): error TS2792: Cannot find module './adler32'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(24222,19): error TS2792: Cannot find module './crc32'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(24223,17): error TS2792: Cannot find module './messages'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(26059,1): error TS2323: Cannot redeclare exported variable 'deflate'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(26092,19): error TS2792: Cannot find module '../utils/common'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(27956,16): error TS2323: Cannot redeclare exported variable 'parse'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(27983,29): error TS2792: Cannot find module 'process-nextick-args'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(27987,18): error TS2792: Cannot find module 'core-util-is'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(27991,22): error TS2792: Cannot find module './_stream_readable'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? @@ -1281,27 +1264,10 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth Argument of type '(x: string) => string | number' is not assignable to parameter of type '(substring: string, ...args: any[]) => string'. Type 'string | number' is not assignable to type 'string'. Type 'number' is not assignable to type 'string'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30729,1): error TS2323: Cannot redeclare exported variable 'isArray'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30734,1): error TS2323: Cannot redeclare exported variable 'isBoolean'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30739,1): error TS2323: Cannot redeclare exported variable 'isNull'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30744,1): error TS2323: Cannot redeclare exported variable 'isNullOrUndefined'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30749,1): error TS2323: Cannot redeclare exported variable 'isNumber'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30754,1): error TS2323: Cannot redeclare exported variable 'isString'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30759,1): error TS2323: Cannot redeclare exported variable 'isSymbol'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30764,1): error TS2323: Cannot redeclare exported variable 'isUndefined'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30769,1): error TS2323: Cannot redeclare exported variable 'isRegExp'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30774,1): error TS2323: Cannot redeclare exported variable 'isObject'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30779,1): error TS2323: Cannot redeclare exported variable 'isDate'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30785,1): error TS2323: Cannot redeclare exported variable 'isError'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30790,1): error TS2323: Cannot redeclare exported variable 'isFunction'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30800,1): error TS2323: Cannot redeclare exported variable 'isPrimitive'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30802,1): error TS2323: Cannot redeclare exported variable 'isBuffer'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30828,1): error TS2323: Cannot redeclare exported variable 'log'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30874,21): error TS2792: Cannot find module 'debug'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30875,28): error TS2792: Cannot find module 'events'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30902,6): error TS2339: Property 'emit' does not exist on type 'Emitter'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(30913,6): error TS2339: Property 'emit' does not exist on type 'Emitter'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31089,1): error TS2323: Cannot redeclare exported variable 'log'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31094,37): error TS2304: Cannot find name 'chrome'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31095,21): error TS2304: Cannot find name 'chrome'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31096,1): error TS2304: Cannot find name 'chrome'. @@ -1309,14 +1275,11 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31124,56): error TS2339: Property 'process' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31130,128): error TS2551: Property 'WebkitAppearance' does not exist on type 'CSSStyleDeclaration'. Did you mean 'webkitAppearance'? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31132,62): error TS2339: Property 'firebug' does not exist on type 'Console'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31289,1): error TS2323: Cannot redeclare exported variable 'names'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31290,1): error TS2323: Cannot redeclare exported variable 'skips'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31132,86): error TS2339: Property 'exception' does not exist on type 'Console'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31343,6): error TS2339: Property 'diff' does not exist on type '{ (...args: any[]): void; namespace: any; enabled: any; useColors: any; color: any; }'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31344,6): error TS2339: Property 'prev' does not exist on type '{ (...args: any[]): void; namespace: any; enabled: any; useColors: any; color: any; }'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31345,6): error TS2339: Property 'curr' does not exist on type '{ (...args: any[]): void; namespace: any; enabled: any; useColors: any; color: any; }'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31382,17): error TS2339: Property 'log' does not exist on type '{ (...args: any[]): void; namespace: any; enabled: any; useColors: any; color: any; }'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31410,1): error TS2323: Cannot redeclare exported variable 'names'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31411,1): error TS2323: Cannot redeclare exported variable 'skips'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(39766,1): error TS2304: Cannot find name 'axe'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(39802,8): error TS2339: Property 'requestFileSystem' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(39802,33): error TS2339: Property 'requestFileSystem' does not exist on type 'Window & typeof globalThis'. @@ -2186,7 +2149,11 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(51984,6): error TS2339: Property '_lastSelectedNode' does not exist on type 'TimelineTreeView'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(51987,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52034,11): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52066,10): error TS2339: Property 'children' does not exist on type 'never'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52070,23): error TS2339: Property 'children' does not exist on type 'never'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52074,23): error TS2339: Property 'children' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52076,18): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52076,72): error TS2339: Property 'totalTime' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52097,8): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52105,31): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52106,32): error TS2304: Cannot find name 'WebInspector'. @@ -3087,6 +3054,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58187,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58231,13): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58278,16): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58296,43): error TS2339: Property 'peekLast' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58309,20): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58322,34): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58343,17): error TS2304: Cannot find name 'WebInspector'. @@ -3111,6 +3079,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58426,88): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58434,17): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58451,4): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58462,33): error TS2339: Property 'mergeOrdered' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58462,60): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58476,18): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58491,25): error TS2339: Property 'peekLast' does not exist on type 'any[]'. @@ -3277,12 +3246,9 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60267,32): error TS2304: Cannot find name 'define'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60268,1): error TS2304: Cannot find name 'define'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60346,1): error TS2323: Cannot redeclare exported variable '__esModule'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60397,1): error TS2323: Cannot redeclare exported variable 'parse'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60430,8): error TS2339: Property 'errors' does not exist on type 'any[]'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60436,1): error TS2323: Cannot redeclare exported variable 'Syntax'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60446,1): error TS2323: Cannot redeclare exported variable '__esModule'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60601,1): error TS2323: Cannot redeclare exported variable '__esModule'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60602,1): error TS2323: Cannot redeclare exported variable 'Syntax'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60688,1): error TS2323: Cannot redeclare exported variable '__esModule'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60728,13): error TS2339: Property 'match' does not exist on type 'JSXParser'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(60732,6): error TS2339: Property 'scanner' does not exist on type 'JSXParser'. @@ -3541,7 +3507,6 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(68410,39): error TS2339: Property 'height' does not exist on type 'constructor'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(69037,13): error TS2339: Property 'displayName' does not exist on type '(image: any, quality: any) => any'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(69550,21): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(69799,1): error TS2323: Cannot redeclare exported variable 'parse'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(70747,4): error TS2531: Object is possibly 'null'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(70747,26): error TS2531: Object is possibly 'null'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(70753,6): error TS2531: Object is possibly 'null'. @@ -3972,6 +3937,23 @@ node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(2856,10): error node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(2858,32): error TS2339: Property 'left' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(2858,49): error TS2339: Property 'right' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3034,25): error TS2339: Property 'xRel' does not exist on type 'Pos'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3178,11): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3178,25): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3179,13): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3179,28): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3179,47): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3180,23): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3180,39): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3180,56): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3182,13): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3182,28): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3182,41): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3182,59): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3182,74): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3185,9): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3185,26): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3186,23): error TS2532: Object is possibly 'undefined'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3186,45): error TS2532: Object is possibly 'undefined'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(4840,5): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(5634,9): error TS2322: Type 'BranchChunk' is not assignable to type 'this'. 'BranchChunk' is assignable to the constraint of type 'this', but 'this' could be instantiated with a different subtype of constraint 'BranchChunk'. @@ -4479,9 +4461,9 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsoleContextSelector.j node_modules/chrome-devtools-frontend/front_end/console/ConsoleContextSelector.js(300,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'ConsoleContextSelector' does not extend another class. node_modules/chrome-devtools-frontend/front_end/console/ConsoleContextSelector.js(310,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'ConsoleContextSelector' does not extend another class. node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(26,5): error TS2322: Type '{}' is not assignable to type '{ [x: string]: boolean; }'. - Index signature is missing in type '{}'. + Index signature for type 'string' is missing in type '{}'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(45,5): error TS2322: Type '{}' is not assignable to type '{ [x: string]: boolean; }'. - Index signature is missing in type '{}'. + Index signature for type 'string' is missing in type '{}'. node_modules/chrome-devtools-frontend/front_end/console/ConsolePanel.js(50,52): error TS2339: Property '_instance' does not exist on type 'typeof WrapperView'. node_modules/chrome-devtools-frontend/front_end/console/ConsolePanel.js(64,42): error TS2339: Property '_instance' does not exist on type 'typeof WrapperView'. node_modules/chrome-devtools-frontend/front_end/console/ConsolePanel.js(65,40): error TS2339: Property '_instance' does not exist on type 'typeof WrapperView'. @@ -4502,7 +4484,7 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(34,63) node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(94,38): error TS2339: Property '_filter' does not exist on type 'TreeElement'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(119,47): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(122,25): error TS2345: Argument of type 'Element' is not assignable to parameter of type 'Icon'. - Type 'Element' is missing the following properties from type 'Icon': createdCallback, _descriptor, _spriteSheet, _iconType, and 114 more. + Type 'Element' is missing the following properties from type 'Icon': createdCallback, _descriptor, _spriteSheet, _iconType, and 116 more. node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(147,27): error TS2322: Type 'Element' is not assignable to type 'Icon'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(209,41): error TS2339: Property 'asParsedURL' does not exist on type 'string'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(214,31): error TS2345: Argument of type '{ key: string; text: string; negative: false; }' is not assignable to parameter of type 'ParsedFilter'. @@ -4755,9 +4737,9 @@ node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(51 node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(578,54): error TS2339: Property '_pageLoadSequenceNumber' does not exist on type 'ConsoleMessage'. node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(615,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(616,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(44,61): error TS2339: Property 'traverseNextNode' does not exist on type 'ChildNode'. -node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(45,57): error TS2339: Property 'className' does not exist on type 'ChildNode'. -node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(46,32): error TS2339: Property 'className' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(44,61): error TS2339: Property 'traverseNextNode' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(45,57): error TS2339: Property 'className' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(46,32): error TS2339: Property 'className' does not exist on type 'ChildNode & Node'. node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(73,36): error TS2339: Property 'deepTextContent' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(144,20): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(145,20): error TS2339: Property 'style' does not exist on type 'Element'. @@ -4853,7 +4835,7 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(89,50): er node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(94,42): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(96,45): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(98,48): error TS2339: Property 'createChild' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(109,26): error TS2352: Conversion of type 'DataGridNode' to type 'NODE_TYPE' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(109,33): error TS2352: Conversion of type 'DataGridNode' to type 'NODE_TYPE' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. 'NODE_TYPE' could be instantiated with an arbitrary type which could be unrelated to 'DataGridNode'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(121,17): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(123,17): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -5092,7 +5074,7 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(20 'NODE_TYPE' could be instantiated with an arbitrary type which could be unrelated to 'SortableDataGridNode'. node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(84,59): error TS2345: Argument of type '{ id: string; title: string; width: number; sortable: true; }' is not assignable to parameter of type 'ColumnDescriptor'. Object literal may only specify known properties, and 'width' does not exist in type 'ColumnDescriptor'. -node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(131,20): error TS2352: Conversion of type 'NODE_TYPE' to type 'SortableDataGridNode' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(131,27): error TS2352: Conversion of type 'NODE_TYPE' to type 'SortableDataGridNode' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(141,21): error TS2339: Property 'recalculateSiblings' does not exist on type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(142,21): error TS2339: Property '_sortChildren' does not exist on type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(165,42): error TS2339: Property 'upperBound' does not exist on type 'NODE_TYPE[]'. @@ -5120,7 +5102,7 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(20 node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(243,33): error TS2339: Property 'flatChildren' does not exist on type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(256,50): error TS2339: Property 'offsetHeight' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(257,47): error TS2339: Property 'offsetHeight' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(320,22): error TS2352: Conversion of type 'NODE_TYPE' to type 'ViewportDataGridNode' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(320,29): error TS2352: Conversion of type 'NODE_TYPE' to type 'ViewportDataGridNode' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(334,21): error TS2322: Type 'NODE_TYPE[]' is not assignable to type 'ViewportDataGridNode[]'. Type 'NODE_TYPE' is not assignable to type 'ViewportDataGridNode'. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(363,15): error TS2339: Property 'parent' does not exist on type 'NODE_TYPE'. @@ -5258,7 +5240,7 @@ node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(731,78): node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(732,21): error TS2339: Property 'value' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(745,44): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(757,30): error TS2339: Property 'remove' does not exist on type 'Map'. -node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(776,15): error TS2339: Property 'classList' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(776,15): error TS2339: Property 'classList' does not exist on type 'ChildNode & Node'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(788,28): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(797,23): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(826,21): error TS2339: Property 'title' does not exist on type 'Element'. @@ -5306,7 +5288,6 @@ node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(542,5) node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(550,5): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostImpl' does not extend another class. node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(558,5): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostImpl' does not extend another class. node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(568,5): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostImpl' does not extend another class. -node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(574,17): error TS2304: Cannot find name 'FileSystem'. node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(576,5): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostImpl' does not extend another class. node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(585,5): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostImpl' does not extend another class. node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(593,5): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostImpl' does not extend another class. @@ -5339,7 +5320,7 @@ node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(1246,4 node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(1251,12): error TS2339: Property 'CSSPrimitiveValue' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(1267,21): error TS2339: Property 'deepPath' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(1270,12): error TS2339: Property 'FileError' does not exist on type 'Window & typeof globalThis'. -node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(1270,28): error TS2352: Conversion of type '{ NOT_FOUND_ERR: number; ABORT_ERR: number; INVALID_MODIFICATION_ERR: number; NOT_READABLE_ERR: number; }' to type 'new () => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(1270,35): error TS2352: Conversion of type '{ NOT_FOUND_ERR: number; ABORT_ERR: number; INVALID_MODIFICATION_ERR: number; NOT_READABLE_ERR: number; }' to type 'new () => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type '{ NOT_FOUND_ERR: number; ABORT_ERR: number; INVALID_MODIFICATION_ERR: number; NOT_READABLE_ERR: number; }' provides no match for the signature 'new (): any'. node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(1270,51): error TS2304: Cannot find name 'FileError'. node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(1290,26): error TS2339: Property '__originalDOMTokenListToggle' does not exist on type 'DOMTokenList'. @@ -5421,6 +5402,7 @@ node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(25 node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(253,61): error TS2339: Property 'host' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(254,17): error TS2339: Property 'host' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(261,16): error TS2339: Property 'getComponentSelection' does not exist on type 'Node'. +node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(265,48): error TS2339: Property 'getSelection' does not exist on type 'ShadowRoot'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(265,70): error TS2339: Property 'window' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(271,16): error TS2339: Property 'hasSelection' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(273,23): error TS2339: Property 'querySelectorAll' does not exist on type 'Node'. @@ -5428,7 +5410,7 @@ node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(27 node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(289,16): error TS2339: Property 'window' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(293,19): error TS2339: Property 'removeChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(305,10): error TS2769: No overload matches this call. - Overload 1 of 3, '(tagName: keyof HTMLElementTagNameMap, options?: ElementCreationOptions): HTMLElement | HTMLCanvasElement | ... 68 more ... | HTMLUListElement', gave the following error. + Overload 1 of 3, '(tagName: keyof HTMLElementTagNameMap, options?: ElementCreationOptions): HTMLElement | HTMLImageElement | ... 66 more ... | HTMLUListElement', gave the following error. Argument of type 'string' is not assignable to parameter of type 'keyof HTMLElementTagNameMap'. Overload 2 of 3, '(tagName: keyof HTMLElementDeprecatedTagNameMap, options?: ElementCreationOptions): HTMLPreElement', gave the following error. Argument of type 'string' is not assignable to parameter of type 'keyof HTMLElementDeprecatedTagNameMap'. @@ -5438,7 +5420,7 @@ node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(31 Type 'number' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(323,20): error TS2339: Property 'createElementWithClass' does not exist on type 'Document'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(324,17): error TS2769: No overload matches this call. - Overload 1 of 3, '(tagName: keyof HTMLElementTagNameMap, options?: ElementCreationOptions): HTMLElement | HTMLCanvasElement | ... 68 more ... | HTMLUListElement', gave the following error. + Overload 1 of 3, '(tagName: keyof HTMLElementTagNameMap, options?: ElementCreationOptions): HTMLElement | HTMLImageElement | ... 66 more ... | HTMLUListElement', gave the following error. Argument of type 'string' is not assignable to parameter of type 'keyof HTMLElementTagNameMap'. Overload 2 of 3, '(tagName: keyof HTMLElementDeprecatedTagNameMap, options?: ElementCreationOptions): HTMLPreElement', gave the following error. Argument of type 'string' is not assignable to parameter of type 'keyof HTMLElementDeprecatedTagNameMap'. @@ -5517,7 +5499,7 @@ node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(74 node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(745,48): error TS2339: Property 'pageX' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(745,60): error TS2339: Property 'pageY' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(753,20): error TS2339: Property 'deepElementFromPoint' does not exist on type 'Document'. -node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(761,5): error TS2740: Type 'ShadowRoot' is missing the following properties from type 'Document': URL, alinkColor, all, anchors, and 168 more. +node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(761,5): error TS2740: Type 'ShadowRoot' is missing the following properties from type 'Document': URL, alinkColor, all, anchors, and 177 more. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(766,28): error TS2339: Property 'deepElementFromPoint' does not exist on type 'DocumentFragment'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(766,70): error TS2339: Property 'deepElementFromPoint' does not exist on type 'Document'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(771,20): error TS2339: Property 'deepActiveElement' does not exist on type 'Document'. @@ -5719,7 +5701,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js( node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(575,10): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(576,10): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(580,10): error TS2339: Property 'scrollIntoViewIfNeeded' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(592,20): error TS2339: Property 'classList' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(592,20): error TS2339: Property 'classList' does not exist on type 'ChildNode & Node'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(600,41): error TS2339: Property 'isAncestor' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(655,26): error TS2339: Property 'getComponentSelection' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(673,37): error TS2339: Property 'enclosingNodeOrSelfWithClass' does not exist on type 'Element'. @@ -5727,7 +5709,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js( node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(733,26): error TS2339: Property 'getComponentSelection' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(738,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(739,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(762,13): error TS2339: Property 'style' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(762,13): error TS2339: Property 'style' does not exist on type 'ChildNode & Node'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(767,32): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(779,41): error TS2345: Argument of type '{ lineNumbers: false; lineWrapping: any; mimeType: string; autoHeight: false; padBottom: false; }' is not assignable to parameter of type 'Options'. Type '{ lineNumbers: false; lineWrapping: any; mimeType: string; autoHeight: false; padBottom: false; }' is missing the following properties from type 'Options': bracketMatchingSetting, maxHighlightLength, placeholder @@ -5741,7 +5723,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js( node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(819,21): error TS2339: Property 'editor' does not exist on type 'Controller'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(820,21): error TS2339: Property 'editor' does not exist on type 'Controller'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(828,34): error TS2339: Property 'style' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(832,15): error TS2339: Property 'style' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(832,15): error TS2339: Property 'style' does not exist on type 'ChildNode & Node'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(837,26): error TS2339: Property 'setMultilineEditing' does not exist on type 'TreeOutline'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(851,18): error TS2339: Property 'altKey' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(851,35): error TS2339: Property 'shiftKey' does not exist on type 'Event'. @@ -5819,7 +5801,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js( node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(755,33): error TS2339: Property 'enclosingNodeOrSelfWithClass' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(758,36): error TS2339: Property 'enclosingNodeOrSelfWithClass' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(813,22): error TS2339: Property 'index' does not exist on type 'DOMNode'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(920,9): error TS2740: Type 'Node & ParentNode' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 64 more. +node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(920,9): error TS2740: Type 'Node & ParentNode' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 101 more. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(930,13): error TS2339: Property 'type' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1106,44): error TS2339: Property 'keysArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1110,89): error TS2339: Property 'scrollTop' does not exist on type 'Node & ParentNode'. @@ -5975,14 +5957,14 @@ node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(96 node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(973,24): error TS2339: Property 'tabIndex' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1022,35): error TS2339: Property 'selectorText' does not exist on type 'CSSRule'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1040,69): error TS2339: Property 'selectorText' does not exist on type 'CSSRule'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1055,24): error TS2339: Property '_section' does not exist on type 'ChildNode'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1056,29): error TS2339: Property '_section' does not exist on type 'ChildNode'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1073,24): error TS2339: Property '_section' does not exist on type 'ChildNode'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1074,29): error TS2339: Property '_section' does not exist on type 'ChildNode'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1087,7): error TS2740: Type 'ChildNode' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 68 more. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1055,24): error TS2339: Property '_section' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1056,29): error TS2339: Property '_section' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1073,24): error TS2339: Property '_section' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1074,29): error TS2339: Property '_section' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1087,7): error TS2740: Type 'ChildNode & Node' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 106 more. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1088,38): error TS2339: Property '_section' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1090,36): error TS2339: Property '_section' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1099,7): error TS2322: Type 'ChildNode' is not assignable to type 'Element'. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1099,7): error TS2322: Type 'ChildNode & Node' is not assignable to type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1100,38): error TS2339: Property '_section' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1102,36): error TS2339: Property '_section' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1232,7): error TS2322: Type 'StylePropertiesSection' is not assignable to type 'this'. @@ -6305,11 +6287,11 @@ node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUt node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(324,5): error TS2741: Property 'internalHandlers' is missing in type '{ eventListeners: any[]; }' but required in type '{ eventListeners: EventListenerObjectInInspectedPage[]; internalHandlers: (() => any)[]; }'. node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(371,103): error TS2322: Type '{ type: any; useCapture: any; passive: any; once: any; handler: any; remove: any; }' is not assignable to type 'EventListenerObjectInInspectedPage'. Object literal may only specify known properties, and 'remove' does not exist in type 'EventListenerObjectInInspectedPage'. -node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(420,32): error TS2352: Conversion of type '{ fn: any; data: any; _data: any; }' to type '(arg0: Node) => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(420,39): error TS2352: Conversion of type '{ fn: any; data: any; _data: any; }' to type '(arg0: Node) => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type '{ fn: any; data: any; _data: any; }' provides no match for the signature '(arg0: Node): any'. node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(420,39): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(470,16): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(480,32): error TS2352: Conversion of type '{ fn: any; data: any; _data: any; }' to type '(arg0: Node) => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(480,39): error TS2352: Conversion of type '{ fn: any; data: any; _data: any; }' to type '(arg0: Node) => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type '{ fn: any; data: any; _data: any; }' provides no match for the signature '(arg0: Node): any'. node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(480,39): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersView.js(14,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -6389,7 +6371,7 @@ node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(98 node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionTraceProvider.js(27,32): error TS2339: Property 'startTraceRecording' does not exist on type 'typeof extensionServer'. node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionTraceProvider.js(31,32): error TS2339: Property 'stopTraceRecording' does not exist on type 'typeof extensionServer'. node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionView.js(50,18): error TS2339: Property 'src' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionView.js(74,22): error TS2352: Conversion of type 'Window' to type 'Window[]' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionView.js(74,29): error TS2352: Conversion of type 'Window' to type 'Window[]' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'Window' is missing the following properties from type 'Window[]': pop, push, concat, join, and 27 more. node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionView.js(75,74): error TS2339: Property 'contentWindow' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/extensions_test_runner/ExtensionsNetworkTestRunner.js(23,5): error TS2304: Cannot find name 'output'. @@ -6445,7 +6427,6 @@ node_modules/chrome-devtools-frontend/front_end/externs.js(261,13): error TS2355 node_modules/chrome-devtools-frontend/front_end/externs.js(266,13): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/externs.js(271,13): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/externs.js(278,13): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. -node_modules/chrome-devtools-frontend/front_end/externs.js(283,13): error TS2304: Cannot find name 'FileSystem'. node_modules/chrome-devtools-frontend/front_end/externs.js(366,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/externs.js(395,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/externs.js(443,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. @@ -6505,10 +6486,9 @@ node_modules/chrome-devtools-frontend/front_end/formatter_worker/AcornTokenizer. node_modules/chrome-devtools-frontend/front_end/formatter_worker/AcornTokenizer.js(39,72): error TS2339: Property 'keyword' does not exist on type 'string | TokenType'. Property 'keyword' does not exist on type 'string'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/CSSFormatter.js(67,39): error TS2339: Property 'lowerBound' does not exist on type 'number[]'. -node_modules/chrome-devtools-frontend/front_end/formatter_worker/CSSRuleParser.js(17,40): error TS2345: Argument of type '(message: any, targetOrigin: string, transfer?: Transferable[]) => void' is not assignable to parameter of type '(arg0: any) => any'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/CSSRuleParser.js(22,12): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/formatter_worker/ESTreeWalker.js(45,10): error TS2339: Property 'parent' does not exist on type 'Node'. -node_modules/chrome-devtools-frontend/front_end/formatter_worker/ESTreeWalker.js(59,33): error TS2352: Conversion of type 'Node' to type 'TemplateLiteralNode' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/formatter_worker/ESTreeWalker.js(59,40): error TS2352: Conversion of type 'Node' to type 'TemplateLiteralNode' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'Node' is missing the following properties from type 'TemplateLiteralNode': quasis, expressions node_modules/chrome-devtools-frontend/front_end/formatter_worker/ESTreeWalker.js(62,52): error TS2345: Argument of type 'TemplateLiteralNode' is not assignable to parameter of type 'Node'. Type 'TemplateLiteralNode' is missing the following properties from type 'Node': start, end, type, body, and 16 more. @@ -6520,19 +6500,13 @@ node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(46,20): error TS2345: Argument of type 'void' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(46,69): error TS2339: Property 'length' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(58,26): error TS1110: Type expected. -node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(96,3): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(103,45): error TS2322: Type 'number' is not assignable to type 'boolean'. -node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(138,3): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(146,36): error TS2322: Type 'number' is not assignable to type 'boolean'. -node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(208,5): error TS2554: Expected 2-3 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(223,3): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(230,51): error TS2322: Type 'number' is not assignable to type 'boolean'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(258,14): error TS2339: Property 'parent' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(258,29): error TS2339: Property 'parent' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(258,72): error TS2339: Property 'parent' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(259,15): error TS2339: Property 'parent' does not exist on type 'Node'. -node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(265,5): error TS2554: Expected 2-3 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(274,3): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(287,26): error TS2339: Property 'computeLineEndings' does not exist on type 'string'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(295,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'formatter' must be of type 'HTMLFormatter', but here has type 'CSSFormatter'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(296,45): error TS2554: Expected 2 arguments, but got 4. @@ -6540,7 +6514,6 @@ node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(300,45): error TS2554: Expected 2 arguments, but got 4. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(303,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'formatter' must be of type 'HTMLFormatter', but here has type 'IdentityFormatter'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(304,45): error TS2554: Expected 2 arguments, but got 4. -node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(313,3): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(335,18): error TS2345: Argument of type 'Extension' is not assignable to parameter of type 'boolean'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(336,66): error TS2339: Property 'catchException' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/HTMLFormatter.js(98,21): error TS2339: Property 'isWhitespace' does not exist on type 'string'. @@ -6599,7 +6572,6 @@ node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptForma node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptOutline.js(14,48): error TS2322: Type 'number' is not assignable to type 'boolean'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptOutline.js(16,55): error TS2322: Type 'number' is not assignable to type 'boolean'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptOutline.js(19,53): error TS2339: Property 'computeLineEndings' does not exist on type 'string'. -node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptOutline.js(22,3): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptOutline.js(34,60): error TS2339: Property 'key' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptOutline.js(34,85): error TS2339: Property 'value' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptOutline.js(35,53): error TS2339: Property 'key' does not exist on type 'Node'. @@ -6612,7 +6584,6 @@ node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptOutli Property 'arguments' is missing in type '{ name: string; line: number; column: number; }' but required in type '{ name: string; line: number; column: number; arguments: string; }'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptOutline.js(74,22): error TS2339: Property 'generator' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptOutline.js(78,22): error TS2339: Property 'async' does not exist on type 'Node'. -node_modules/chrome-devtools-frontend/front_end/formatter_worker/JavaScriptOutline.js(155,5): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/formatter_worker/RelaxedJSONParser.js(74,7): error TS2356: An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type. node_modules/chrome-devtools-frontend/front_end/formatter_worker/RelaxedJSONParser.js(93,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'newTip' must be of type '{}', but here has type 'any[]'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/RelaxedJSONParser.js(104,32): error TS2339: Property 'value' does not exist on type 'Node'. @@ -6799,6 +6770,7 @@ node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn.js( node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn.js(2735,12): error TS2339: Property 'options' does not exist on type 'skipBlockComment'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn.js(2736,10): error TS2339: Property 'options' does not exist on type 'skipBlockComment'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn.js(2736,39): error TS2339: Property 'input' does not exist on type 'skipBlockComment'. +node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn.js(2736,51): error TS2365: Operator '+' cannot be applied to types 'undefined' and '2'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn.js(2737,43): error TS2339: Property 'curPosition' does not exist on type 'skipBlockComment'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn.js(2806,19): error TS2339: Property 'pos' does not exist on type 'finishToken'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn.js(2807,12): error TS2339: Property 'options' does not exist on type 'finishToken'. @@ -6980,9 +6952,9 @@ node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapsho node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1345,12): error TS2339: Property 'nodeIndex' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1355,31): error TS2345: Argument of type 'void' is not assignable to parameter of type 'HeapSnapshotNode'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1424,13): error TS2322: Type '{}' is not assignable to type '{ [x: string]: { count: number; distance: number; self: number; maxRet: number; name: string; idxs: number[]; }; }'. - Index signature is missing in type '{}'. + Index signature for type 'string' is missing in type '{}'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1424,59): error TS2322: Type '{}' is not assignable to type '{ [x: number]: { count: number; distance: number; self: number; maxRet: number; name: string; idxs: number[]; }; }'. - Index signature is missing in type '{}'. + Index signature for type 'number' is missing in type '{}'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1447,12): error TS2339: Property 'nodeIndex' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1448,29): error TS2339: Property 'classIndex' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1454,39): error TS2345: Argument of type 'void' is not assignable to parameter of type 'HeapSnapshotNode'. @@ -6993,13 +6965,13 @@ node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapsho node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1485,22): error TS2339: Property 'id' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1485,35): error TS2339: Property 'id' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1516,17): error TS1345: An expression of type 'void' cannot be tested for truthiness. -node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1516,41): error TS2339: Property 'map' does not exist on type 'void'. +node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1516,41): error TS2339: Property 'map' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1517,16): error TS1345: An expression of type 'void' cannot be tested for truthiness. -node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1517,40): error TS2339: Property 'flag' does not exist on type 'void'. +node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1517,40): error TS2339: Property 'flag' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1665,17): error TS1345: An expression of type 'void' cannot be tested for truthiness. -node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1665,41): error TS2339: Property 'map' does not exist on type 'void'. +node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1665,41): error TS2339: Property 'map' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1666,16): error TS1345: An expression of type 'void' cannot be tested for truthiness. -node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1666,40): error TS2339: Property 'flag' does not exist on type 'void'. +node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1666,40): error TS2339: Property 'flag' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1862,40): error TS2339: Property 'lowerBound' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1945,27): error TS2339: Property 'id' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(1952,17): error TS2339: Property 'id' does not exist on type 'void'. @@ -7048,7 +7020,6 @@ node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapsho Type 'number' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshot.js(3092,28): error TS2345: Argument of type 'string | number' is not assignable to parameter of type 'string'. Type 'number' is not assignable to type 'string'. -node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshotWorker.js(31,3): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/heap_snapshot_worker/HeapSnapshotWorker.js(37,12): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/help/ReleaseNoteView.js(10,42): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/help/ReleaseNoteView.js(21,26): error TS2339: Property 'createChild' does not exist on type 'Element'. @@ -7098,11 +7069,10 @@ node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHost.js(26 node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHost.js(268,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHost.js(270,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostStub' does not extend another class. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHost.js(274,14): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ [x: string]: string; }'. - Index signature is missing in type '{}'. + Index signature for type 'string' is missing in type '{}'. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHost.js(282,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostStub' does not extend another class. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHost.js(290,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostStub' does not extend another class. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHost.js(297,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostStub' does not extend another class. -node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHost.js(303,15): error TS2304: Cannot find name 'FileSystem'. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHost.js(305,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostStub' does not extend another class. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHost.js(313,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostStub' does not extend another class. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHost.js(320,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'InspectorFrontendHostStub' does not extend another class. @@ -7139,7 +7109,6 @@ node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHostAPI.js node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHostAPI.js(128,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHostAPI.js(133,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHostAPI.js(210,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. -node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHostAPI.js(241,15): error TS2304: Cannot find name 'FileSystem'. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHostAPI.js(246,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHostAPI.js(299,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/host/InspectorFrontendHostAPI.js(332,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. @@ -7332,10 +7301,10 @@ node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.j node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(86,44): error TS2551: Property '_logItemCategoriesMap' does not exist on type 'typeof PaintProfilerView'. Did you mean '_initLogItemCategories'? node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(128,35): error TS2551: Property '_logItemCategoriesMap' does not exist on type 'typeof PaintProfilerView'. Did you mean '_initLogItemCategories'? node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(129,5): error TS2322: Type '{ Clear: PaintProfilerCategory; DrawPaint: PaintProfilerCategory; DrawData: PaintProfilerCategory; SetMatrix: PaintProfilerCategory; ... 31 more ...; DrawTextOnPath: PaintProfilerCategory; }' is not assignable to type '{ [x: string]: PaintProfilerCategory; }'. - Index signature is missing in type '{ Clear: PaintProfilerCategory; DrawPaint: PaintProfilerCategory; DrawData: PaintProfilerCategory; SetMatrix: PaintProfilerCategory; ... 31 more ...; DrawTextOnPath: PaintProfilerCategory; }'. + Index signature for type 'string' is missing in type '{ Clear: PaintProfilerCategory; DrawPaint: PaintProfilerCategory; DrawData: PaintProfilerCategory; SetMatrix: PaintProfilerCategory; ... 31 more ...; DrawTextOnPath: PaintProfilerCategory; }'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(158,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(244,26): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ [x: string]: number; }'. - Index signature is missing in type '{}'. + Index signature for type 'string' is missing in type '{}'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(300,19): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(314,27): error TS2339: Property 'constrain' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(315,28): error TS2339: Property 'constrain' does not exist on type 'NumberConstructor'. @@ -7649,6 +7618,7 @@ node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(152,57 Type '(networkManager: NetworkManager) => void' is not assignable to type '(model: T) => void'. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(174,46): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(175,46): error TS2694: Namespace 'Protocol' has no exported member 'Network'. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(450,11): error TS2339: Property 'file' does not exist on type 'FileSystemEntry'. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(526,3): error TS2416: Property 'modelAdded' in type 'NetworkLogView' is not assignable to the same property in base type 'SDKModelObserver'. Type '(networkManager: NetworkManager) => void' is not assignable to type '(model: T) => void'. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(526,3): error TS2416: Property 'modelAdded' in type 'NetworkLogView' is not assignable to the same property in base type 'SDKModelObserver'. @@ -7889,7 +7859,7 @@ node_modules/chrome-devtools-frontend/front_end/network_test_runner/NetworkTestR node_modules/chrome-devtools-frontend/front_end/network_test_runner/NetworkTestRunner.js(69,36): error TS2304: Cannot find name 'i'. node_modules/chrome-devtools-frontend/front_end/network_test_runner/NetworkTestRunner.js(70,35): error TS2304: Cannot find name 'i'. node_modules/chrome-devtools-frontend/front_end/network_test_runner/ProductRegistryTestRunner.js(38,81): error TS2322: Type '{}' is not assignable to type '{ [x: string]: { product: number; type: number; }; }'. - Index signature is missing in type '{}'. + Index signature for type 'string' is missing in type '{}'. node_modules/chrome-devtools-frontend/front_end/object_ui/CustomPreviewComponent.js(31,20): error TS2339: Property 'classList' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/object_ui/CustomPreviewComponent.js(94,30): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/object_ui/CustomPreviewComponent.js(116,11): error TS2339: Property 'consume' does not exist on type 'Event'. @@ -8198,8 +8168,8 @@ node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(189,25): node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(196,23): error TS2339: Property '_labelElement' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(199,15): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(200,23): error TS2339: Property 'style' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(210,7): error TS2322: Type 'ChildNode' is not assignable to type 'Element'. -node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(215,7): error TS2322: Type 'ChildNode' is not assignable to type 'Element'. +node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(210,7): error TS2322: Type 'ChildNode & Node' is not assignable to type 'Element'. +node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(215,7): error TS2322: Type 'ChildNode & Node' is not assignable to type 'Element'. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(277,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(284,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(288,16): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. @@ -8319,7 +8289,7 @@ node_modules/chrome-devtools-frontend/front_end/persistence/FileSystemWorkspaceB node_modules/chrome-devtools-frontend/front_end/persistence/FileSystemWorkspaceBinding.js(535,3): error TS4113: This member cannot have an 'override' modifier because it is not declared in the base class 'ProjectStore'. node_modules/chrome-devtools-frontend/front_end/persistence/FileSystemWorkspaceBinding.js(544,3): error TS4113: This member cannot have an 'override' modifier because it is not declared in the base class 'ProjectStore'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(75,10): error TS2339: Property 'catchException' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(83,59): error TS2339: Property 'message' does not exist on type 'DOMError'. +node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(79,15): error TS2304: Cannot find name 'DOMError'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(97,17): error TS2304: Cannot find name 'FileEntry'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(104,17): error TS2304: Cannot find name 'FileError'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(117,35): error TS2339: Property 'valuesArray' does not exist on type 'Set'. @@ -8476,7 +8446,7 @@ node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1277,40): node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1299,35): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1321,12): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1324,6): error TS2339: Property 'setImmediate' does not exist on type 'Window & typeof globalThis'. -node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1326,41): error TS2556: Expected 0 arguments, but got 1 or more. +node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1326,41): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter. node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1331,12): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1335,19): error TS2339: Property 'spread' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1348,19): error TS2339: Property 'catchException' does not exist on type 'Promise'. @@ -8714,7 +8684,7 @@ node_modules/chrome-devtools-frontend/front_end/product_registry_impl/ProductReg node_modules/chrome-devtools-frontend/front_end/product_registry_impl/ProductRegistryImpl.js(29,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'Registry' does not extend another class. node_modules/chrome-devtools-frontend/front_end/product_registry_impl/ProductRegistryImpl.js(70,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'Registry' does not extend another class. node_modules/chrome-devtools-frontend/front_end/product_registry_impl/ProductRegistryImpl.js(99,63): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ [x: string]: { name: string; type: number; }; }'. - Index signature is missing in type '{}'. + Index signature for type 'string' is missing in type '{}'. node_modules/chrome-devtools-frontend/front_end/profiler/BottomUpProfileDataGrid.js(83,15): error TS2339: Property '_remainingNodeInfos' does not exist on type 'ProfileDataGridNode'. node_modules/chrome-devtools-frontend/front_end/profiler/BottomUpProfileDataGrid.js(196,26): error TS2339: Property 'UID' does not exist on type 'ProfileNode'. node_modules/chrome-devtools-frontend/front_end/profiler/BottomUpProfileDataGrid.js(197,23): error TS2339: Property 'UID' does not exist on type 'ProfileNode'. @@ -8824,7 +8794,7 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.j node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(700,24): error TS2694: Namespace 'Protocol' has no exported member 'HeapProfiler'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(713,67): error TS2339: Property '_name' does not exist on type 'HeapSnapshotGridNode'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(717,30): error TS2339: Property 'populateNodeBySnapshotObjectId' does not exist on type 'HeapSnapshotGridNode'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(63,16): error TS2352: Conversion of type '{ fieldName1: string; ascending1: string; fieldName2: string; ascending2: string; }' to type 'ComparatorConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(63,23): error TS2352: Conversion of type '{ fieldName1: string; ascending1: string; fieldName2: string; ascending2: string; }' to type 'ComparatorConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Types of property 'ascending1' are incompatible. Type 'string' is not comparable to type 'boolean'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(104,14): error TS2339: Property '_searchMatched' does not exist on type 'HeapSnapshotGridNode'. @@ -9243,13 +9213,24 @@ node_modules/chrome-devtools-frontend/front_end/resources/AppManifestView.js(163 node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(42,28): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(44,22): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(59,32): error TS2339: Property 'style' does not exist on type 'Element'. +node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(108,23): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(109,23): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(110,23): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(111,23): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(112,23): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(113,23): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(115,63): error TS2304: Cannot find name 'applicationCache'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(117,22): error TS2339: Property 'type' does not exist on type 'Element'. +node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(120,46): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(121,24): error TS2304: Cannot find name 'applicationCache'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(131,30): error TS2339: Property 'type' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(134,30): error TS2339: Property 'type' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(223,26): error TS2339: Property 'bytesToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheItemsView.js(225,12): error TS2339: Property 'resource' does not exist on type 'DataGridNode'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheModel.js(39,12): error TS2339: Property 'registerApplicationCacheDispatcher' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheModel.js(40,26): error TS2339: Property 'applicationCacheAgent' does not exist on type 'Target'. +node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheModel.js(96,20): error TS2304: Cannot find name 'applicationCache'. +node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheModel.js(145,39): error TS2304: Cannot find name 'applicationCache'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheModel.js(166,34): error TS2694: Namespace 'Protocol' has no exported member 'ApplicationCache'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheModel.js(193,26): error TS2694: Namespace 'Protocol' has no exported member 'ApplicationCacheDispatcher'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationCacheModel.js(207,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'ApplicationCacheDispatcher' does not extend another class. @@ -9315,7 +9296,7 @@ node_modules/chrome-devtools-frontend/front_end/resources/DatabaseQueryView.js(1 node_modules/chrome-devtools-frontend/front_end/resources/DatabaseTableView.js(77,18): error TS2339: Property 'removeChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/resources/DatabaseTableView.js(114,37): error TS2339: Property 'valuesArray' does not exist on type 'Set'. node_modules/chrome-devtools-frontend/front_end/resources/DatabaseTableView.js(124,40): error TS2345: Argument of type '{ '0': boolean; }' is not assignable to parameter of type '{ [x: string]: boolean; }'. - Index signature is missing in type '{ '0': boolean; }'. + Index signature for type 'string' is missing in type '{ '0': boolean; }'. node_modules/chrome-devtools-frontend/front_end/resources/DatabaseTableView.js(130,18): error TS2339: Property 'removeChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBModel.js(32,26): error TS2694: Namespace 'Protocol' has no exported member 'StorageDispatcher'. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBModel.js(41,12): error TS2339: Property 'registerStorageDispatcher' does not exist on type 'Target'. @@ -9932,7 +9913,7 @@ node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(128,36): e node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(130,26): error TS2551: Property '_connectionTypes' does not exist on type 'typeof NetworkManager'. Did you mean '_connectionType'? node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(131,34): error TS2551: Property '_connectionTypes' does not exist on type 'typeof NetworkManager'. Did you mean '_connectionType'? node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(154,5): error TS2322: Type '{}' is not assignable to type '{ [x: string]: string; }'. - Index signature is missing in type '{}'. + Index signature for type 'string' is missing in type '{}'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(260,26): error TS2694: Namespace 'Protocol' has no exported member 'NetworkDispatcher'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(269,34): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(276,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. @@ -10034,7 +10015,7 @@ node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1060,13): node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1084,19): error TS2339: Property 'networkAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1089,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1101,35): error TS2345: Argument of type '{ 'User-Agent': string; 'Cache-Control': string; }' is not assignable to parameter of type '{ [x: string]: string; }'. - Index signature is missing in type '{ 'User-Agent': string; 'Cache-Control': string; }'. + Index signature for type 'string' is missing in type '{ 'User-Agent': string; 'Cache-Control': string; }'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1115,24): error TS2694: Namespace 'Protocol' has no exported member 'NetworkAgent'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1116,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(1117,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. @@ -10141,10 +10122,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/ProfileTreeModel.js(12,26): node_modules/chrome-devtools-frontend/front_end/sdk/ProfileTreeModel.js(80,10): error TS2339: Property 'depth' does not exist on type 'ProfileNode'. node_modules/chrome-devtools-frontend/front_end/sdk/ProfileTreeModel.js(86,26): error TS2339: Property 'depth' does not exist on type 'ProfileNode'. node_modules/chrome-devtools-frontend/front_end/sdk/ProfileTreeModel.js(93,15): error TS2339: Property 'depth' does not exist on type 'ProfileNode'. -node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(45,5): error TS2322: Type 'LocalJSONObject' is not assignable to type 'RemoteObject'. - Types of property 'callFunctionJSON' are incompatible. - Type '(functionDeclaration: (this: any) => any, args: any[], callback: (arg0: any) => any) => void' is not assignable to type '(functionDeclaration: (this: any, ...arg1: any[]) => T, args: any[], callback: (arg0: T) => any) => void'. - Types of parameters 'functionDeclaration' and 'functionDeclaration' are incompatible. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(73,42): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(73,73): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(87,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. @@ -10200,9 +10177,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(704,32): err node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(727,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(728,32): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(729,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(731,3): error TS2416: Property 'callFunctionJSON' in type 'RemoteObjectImpl' is not assignable to the same property in base type 'RemoteObject'. - Type '(functionDeclaration: (this: any) => any, args: any[], callback: (arg0: any) => any, ...args: any[]) => void' is not assignable to type '(functionDeclaration: (this: any, ...arg1: any[]) => T, args: any[], callback: (arg0: T) => any) => void'. - Types of parameters 'functionDeclaration' and 'functionDeclaration' are incompatible. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(795,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(797,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(810,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -10220,9 +10194,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1153,31): er node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1175,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1176,31): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1177,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1179,3): error TS2416: Property 'callFunctionJSON' in type 'LocalJSONObject' is not assignable to the same property in base type 'RemoteObject'. - Type '(functionDeclaration: (this: any) => any, args: any[], callback: (arg0: any) => any) => void' is not assignable to type '(functionDeclaration: (this: any, ...arg1: any[]) => T, args: any[], callback: (arg0: T) => any) => void'. - Types of parameters 'functionDeclaration' and 'functionDeclaration' are incompatible. node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(38,24): error TS2694: Namespace 'Protocol' has no exported member 'Page'. node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(39,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(56,55): error TS2339: Property 'isValid' does not exist on type 'Date'. @@ -10303,16 +10274,7 @@ node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(100,14): err node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(125,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(133,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(168,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(173,5): error TS2322: Type 'RemoteObjectImpl' is not assignable to type 'RemoteObject'. - Types of property 'callFunctionJSON' are incompatible. - Type '(functionDeclaration: (this: any) => any, args: any[], callback: (arg0: any) => any, ...args: any[]) => void' is not assignable to type '(functionDeclaration: (this: any, ...arg1: any[]) => T, args: any[], callback: (arg0: T) => any) => void'. - Types of parameters 'functionDeclaration' and 'functionDeclaration' are incompatible. node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(179,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(184,5): error TS2322: Type 'ScopeRemoteObject' is not assignable to type 'RemoteObject'. - Types of property 'callFunctionJSON' are incompatible. - Type '(functionDeclaration: (this: any) => any, args: any[], callback: (arg0: any) => any, ...args: any[]) => void' is not assignable to type '(functionDeclaration: (this: any, ...arg1: any[]) => T, args: any[], callback: (arg0: T) => any) => void'. - Types of parameters 'functionDeclaration' and 'functionDeclaration' are incompatible. -node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(209,5): error TS2322: Type 'RemoteObjectImpl' is not assignable to type 'RemoteObject'. node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(267,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(294,7): error TS2739: Type '{ error: any; }' is missing the following properties from type 'EvaluationResult': object, exceptionDetails node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(296,5): error TS2741: Property 'error' is missing in type '{ object: RemoteObject; exceptionDetails: any; }' but required in type 'EvaluationResult'. @@ -10805,6 +10767,7 @@ node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(105,36 node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(149,10): error TS2339: Property 'download' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(150,10): error TS2339: Property 'href' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(151,10): error TS2339: Property 'click' does not exist on type 'Element'. +node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(168,11): error TS2339: Property 'file' does not exist on type 'FileSystemEntry'. node_modules/chrome-devtools-frontend/front_end/source_frame/JSONView.js(66,47): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/source_frame/JSONView.js(165,28): error TS2339: Property 'setSearchRegex' does not exist on type 'TreeElement'. node_modules/chrome-devtools-frontend/front_end/source_frame/JSONView.js(170,23): error TS2339: Property 'setSearchRegex' does not exist on type 'TreeElement'. @@ -10846,7 +10809,7 @@ node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.j node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(134,12): error TS2339: Property '_tokenHighlighter' does not exist on type 'CodeMirrorTextEditor'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(237,57): error TS2339: Property 'length' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(262,9): error TS1345: An expression of type 'void' cannot be tested for truthiness. -node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(263,37): error TS2339: Property 'clear' does not exist on type 'void'. +node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(263,37): error TS2339: Property 'clear' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(296,30): error TS2339: Property 'wrapClass' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(414,99): error TS2345: Argument of type 'void' is not assignable to parameter of type 'Pos'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(445,15): error TS2339: Property '_isHandlingMouseDownEvent' does not exist on type 'SourcesTextEditor'. @@ -10855,7 +10818,7 @@ node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.j node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(614,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(622,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(759,9): error TS1345: An expression of type 'void' cannot be tested for truthiness. -node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(760,32): error TS2339: Property 'clear' does not exist on type 'void'. +node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(760,32): error TS2339: Property 'clear' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(799,24): error TS2339: Property 'line' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(799,46): error TS2339: Property 'line' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(801,24): error TS2339: Property 'ch' does not exist on type 'void'. @@ -10865,13 +10828,14 @@ node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.j node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(807,72): error TS2339: Property 'ch' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(807,89): error TS2339: Property 'ch' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(808,11): error TS1345: An expression of type 'void' cannot be tested for truthiness. -node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(809,54): error TS2339: Property 'line' does not exist on type 'void'. +node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(809,54): error TS2339: Property 'line' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(810,93): error TS2345: Argument of type 'void' is not assignable to parameter of type 'Pos'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(822,79): error TS2339: Property 'charAt' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(823,41): error TS2339: Property 'length' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(823,88): error TS2339: Property 'charAt' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(839,9): error TS2367: This condition will always return 'false' since the types 'void' and 'number' have no overlap. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(854,9): error TS1345: An expression of type 'void' cannot be tested for truthiness. +node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(856,34): error TS2339: Property 'length' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(862,12): error TS1345: An expression of type 'void' cannot be tested for truthiness. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(862,13): error TS1345: An expression of type 'void' cannot be tested for truthiness. node_modules/chrome-devtools-frontend/front_end/source_frame/SourcesTextEditor.js(873,9): error TS1345: An expression of type 'void' cannot be tested for truthiness. @@ -11007,7 +10971,7 @@ node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSid node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(53,28): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. 'K' could be instantiated with an arbitrary type which could be unrelated to 'string'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(66,35): error TS2339: Property 'createChild' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(73,36): error TS2339: Property 'createChild' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(73,36): error TS2339: Property 'createChild' does not exist on type 'ChildNode & Node'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(78,37): error TS2339: Property 'uiLocation' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(80,71): error TS2339: Property 'uiLocation' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(81,60): error TS2339: Property 'breakpoint' does not exist on type 'V'. @@ -11023,7 +10987,7 @@ node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptCompilerPlugin node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptCompilerPlugin.js(116,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'JavaScriptCompilerPlugin' does not extend another class. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptCompilerPlugin.js(123,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'JavaScriptCompilerPlugin' does not extend another class. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(60,50): error TS2345: Argument of type 'Event' is not assignable to parameter of type 'MouseEvent | KeyboardEvent'. - Type 'Event' is missing the following properties from type 'KeyboardEvent': altKey, char, charCode, code, and 16 more. + Type 'Event' is missing the following properties from type 'KeyboardEvent': altKey, charCode, code, ctrlKey, and 16 more. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(107,33): error TS2339: Property 'asParsedURL' does not exist on type 'string'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(134,95): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(140,44): error TS2339: Property 'createTextChild' does not exist on type 'Element'. @@ -11442,11 +11406,11 @@ node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/addons/fit/fit node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,107): error TS2304: Cannot find name 'define'. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,128): error TS2304: Cannot find name 'define'. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,140): error TS2304: Cannot find name 'define'. -node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,437): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig. -node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,458): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig. +node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,437): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. +node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,458): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,564): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,737): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig. -node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,758): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add `node` to the types field in your tsconfig. +node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,737): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. +node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1,758): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(3,1): error TS2323: Cannot redeclare exported variable '__esModule'. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(166,1): error TS2323: Cannot redeclare exported variable '__esModule'. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(293,1): error TS2323: Cannot redeclare exported variable '__esModule'. @@ -11624,8 +11588,8 @@ node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1203,1 node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1279,81): error TS2345: Argument of type 'Function' is not assignable to parameter of type '(value: any) => any'. Type 'Function' provides no match for the signature '(value: any): any'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1304,3): error TS2322: Type 'Promise' is not assignable to type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1310,30): error TS2339: Property 'getAttribute' does not exist on type 'ChildNode'. -node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1311,44): error TS2339: Property 'getAttribute' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1310,30): error TS2339: Property 'getAttribute' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1311,44): error TS2339: Property 'getAttribute' does not exist on type 'ChildNode & Node'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1359,3): error TS4112: This member cannot have an 'override' modifier because its containing class '_TestObserver' does not extend another class. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1380,3): error TS4112: This member cannot have an 'override' modifier because its containing class '_TestObserver' does not extend another class. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1388,16): error TS2551: Property 'testRunner' does not exist on type 'Window & typeof globalThis'. Did you mean 'TestRunner'? @@ -11684,10 +11648,10 @@ node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1302,34): error TS2339: Property 'length' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1307,9): error TS1345: An expression of type 'void' cannot be tested for truthiness. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1307,9): error TS1345: An expression of type 'void' cannot be tested for truthiness. -node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1307,44): error TS2339: Property 'match' does not exist on type 'void'. -node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1308,64): error TS2339: Property 'from' does not exist on type 'void'. -node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1309,56): error TS2339: Property 'to' does not exist on type 'void'. -node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1309,81): error TS2339: Property 'to' does not exist on type 'void'. +node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1307,44): error TS2339: Property 'match' does not exist on type 'never'. +node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1308,64): error TS2339: Property 'from' does not exist on type 'never'. +node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1309,56): error TS2339: Property 'to' does not exist on type 'never'. +node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1309,81): error TS2339: Property 'to' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1323,14): error TS2339: Property '_codeMirrorTextEditor' does not exist on type 'CodeMirror'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1323,60): error TS2339: Property 'line' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1324,43): error TS2339: Property '_codeMirrorTextEditor' does not exist on type 'CodeMirror'. @@ -11695,7 +11659,6 @@ node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1336,60): error TS2339: Property 'line' does not exist on type 'void'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1337,43): error TS2339: Property '_codeMirrorTextEditor' does not exist on type 'CodeMirror'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1400,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'CodeMirrorPositionHandle' does not extend another class. -node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1404,13): error TS2322: Type 'void' is not assignable to type 'number'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1412,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'CodeMirrorPositionHandle' does not extend another class. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1413,27): error TS2339: Property '_lineHandle' does not exist on type 'TextEditorPositionHandle'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1413,78): error TS2339: Property '_columnNumber' does not exist on type 'TextEditorPositionHandle'. @@ -11705,12 +11668,12 @@ node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1563,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1569,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1614,9): error TS1345: An expression of type 'void' cannot be tested for truthiness. -node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1615,48): error TS2339: Property 'line' does not exist on type 'void'. +node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1615,48): error TS2339: Property 'line' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1621,9): error TS1345: An expression of type 'void' cannot be tested for truthiness. -node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1622,48): error TS2339: Property 'line' does not exist on type 'void'. +node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1622,48): error TS2339: Property 'line' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1637,12): error TS1345: An expression of type 'void' cannot be tested for truthiness. -node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1637,61): error TS2339: Property 'line' does not exist on type 'void'. -node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1637,71): error TS2339: Property 'ch' does not exist on type 'void'. +node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1637,61): error TS2339: Property 'line' does not exist on type 'never'. +node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1637,71): error TS2339: Property 'ch' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1647,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(1662,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'CodeMirrorTextEditorFactory' does not extend another class. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorUtils.js(141,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'TokenizerFactory' does not extend another class. @@ -11879,7 +11842,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.j node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(248,81): error TS2339: Property '_overviewIndex' does not exist on type 'TimelineCategory'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(384,7): error TS2322: Type 'Promise HTMLImageElement)>' is not assignable to type 'Promise'. Type 'HTMLImageElement | (new (width?: number, height?: number) => HTMLImageElement)' is not assignable to type 'HTMLImageElement'. - Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'HTMLImageElement': align, alt, border, complete, and 259 more. + Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'HTMLImageElement': align, alt, border, complete, and 298 more. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(457,17): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(524,28): error TS2339: Property 'peekLast' does not exist on type 'TimelineFrame[]'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(542,40): error TS2339: Property 'createChild' does not exist on type 'Element'. @@ -11925,7 +11888,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataP node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(654,37): error TS2339: Property 'naturalHeight' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(655,39): error TS2339: Property 'naturalWidth' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(660,23): error TS2345: Argument of type 'new (width?: number, height?: number) => HTMLImageElement' is not assignable to parameter of type 'CanvasImageSource'. - Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'OffscreenCanvas': height, width, convertToBlob, getContext, and 4 more. + Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'OffscreenCanvas': addEventListener, dispatchEvent, removeEventListener node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(679,3): error TS4113: This member cannot have an 'override' modifier because it is not declared in the base class 'Object'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(745,3): error TS4113: This member cannot have an 'override' modifier because it is not declared in the base class 'Object'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(862,44): error TS2339: Property 'id' does not exist on type 'Event'. @@ -12064,6 +12027,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(861,3) node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(875,3): error TS4113: This member cannot have an 'override' modifier because it is not declared in the base class 'Panel'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(878,29): error TS2339: Property 'upperBound' does not exist on type 'Event[]'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(895,3): error TS4113: This member cannot have an 'override' modifier because it is not declared in the base class 'Panel'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(932,13): error TS2339: Property 'file' does not exist on type 'FileSystemEntry'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1125,29): error TS8022: JSDoc '@extends' is not attached to a class. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1129,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1134,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. @@ -12117,7 +12081,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(40,3 node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(41,39): error TS2339: Property '_eventStylesMap' does not exist on type 'typeof TimelineUIUtils'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(209,30): error TS2339: Property '_eventStylesMap' does not exist on type 'typeof TimelineUIUtils'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(210,5): error TS2322: Type '{}' is not assignable to type '{ [x: string]: TimelineRecordStyle; }'. - Index signature is missing in type '{}'. + Index signature for type 'string' is missing in type '{}'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(218,35): error TS2339: Property '_inputEventToDisplayName' does not exist on type 'typeof TimelineUIUtils'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(222,32): error TS2339: Property '_inputEventToDisplayName' does not exist on type 'typeof TimelineUIUtils'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(251,37): error TS2339: Property '_inputEventToDisplayName' does not exist on type 'typeof TimelineUIUtils'. @@ -12178,7 +12142,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1595 node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1609,18): error TS2339: Property 'preciseMillisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1652,69): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1657,64): error TS2345: Argument of type 'new (width?: number, height?: number) => HTMLImageElement' is not assignable to parameter of type 'Node'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1675,5): error TS2740: Type 'DocumentFragment' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 64 more. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1675,5): error TS2740: Type 'DocumentFragment' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 101 more. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1684,30): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1685,16): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1687,13): error TS2339: Property 'createTextChild' does not exist on type 'Element'. @@ -12355,7 +12319,6 @@ node_modules/chrome-devtools-frontend/front_end/ui/ActionRegistry.js(210,15): er node_modules/chrome-devtools-frontend/front_end/ui/Context.js(14,33): error TS1110: Type expected. node_modules/chrome-devtools-frontend/front_end/ui/Context.js(25,21): error TS2339: Property 'remove' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/ui/Context.js(31,33): error TS1110: Type expected. -node_modules/chrome-devtools-frontend/front_end/ui/Context.js(37,36): error TS2345: Argument of type 'new (...arg1: any[]) => T' is not assignable to parameter of type 'new () => any'. node_modules/chrome-devtools-frontend/front_end/ui/Context.js(49,38): error TS1110: Type expected. node_modules/chrome-devtools-frontend/front_end/ui/Context.js(50,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/ui/Context.js(63,38): error TS1110: Type expected. @@ -12444,6 +12407,7 @@ node_modules/chrome-devtools-frontend/front_end/ui/FilterSuggestionBuilder.js(51 Type '{ text: string; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. Type '{ text: string; }' is missing the following properties from type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }': subtitle, iconType, priority, isSecondary, title node_modules/chrome-devtools-frontend/front_end/ui/ForwardedInputEventHandler.js(9,27): error TS2339: Property 'events' does not exist on type 'InspectorFrontendHostAPI'. +node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(106,81): error TS2554: Expected 1-3 arguments, but got 4. node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(113,55): error TS2339: Property 'hasAttributes' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(114,18): error TS2339: Property 'hasAttribute' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(116,39): error TS2339: Property 'getAttribute' does not exist on type 'Node'. @@ -12693,9 +12657,9 @@ node_modules/chrome-devtools-frontend/front_end/ui/SearchableView.js(367,42): er node_modules/chrome-devtools-frontend/front_end/ui/SearchableView.js(423,32): error TS2339: Property 'currentQuery' does not exist on type 'Searchable'. node_modules/chrome-devtools-frontend/front_end/ui/SearchableView.js(424,35): error TS2339: Property 'currentQuery' does not exist on type 'Searchable'. node_modules/chrome-devtools-frontend/front_end/ui/SearchableView.js(443,26): error TS2339: Property 'currentQuery' does not exist on type 'Searchable'. -node_modules/chrome-devtools-frontend/front_end/ui/SearchableView.js(474,9): error TS2352: Conversion of type 'Searchable' to type 'Replaceable' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/ui/SearchableView.js(474,16): error TS2352: Conversion of type 'Searchable' to type 'Replaceable' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'Searchable' is missing the following properties from type 'Replaceable': replaceSelectionWith, replaceAllWith -node_modules/chrome-devtools-frontend/front_end/ui/SearchableView.js(482,9): error TS2352: Conversion of type 'Searchable' to type 'Replaceable' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/ui/SearchableView.js(482,16): error TS2352: Conversion of type 'Searchable' to type 'Replaceable' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. node_modules/chrome-devtools-frontend/front_end/ui/SearchableView.js(527,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/ui/SearchableView.js(532,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/ui/SearchableView.js(587,15): error TS2339: Property '__fromRegExpQuery' does not exist on type 'RegExp'. @@ -12905,7 +12869,7 @@ node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(592,35): error node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(601,32): error TS2339: Property 'isAncestor' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(610,54): error TS2339: Property 'isAncestor' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(622,35): error TS2339: Property 'getComponentSelection' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(627,7): error TS2322: Type 'ChildNode' is not assignable to type 'Element'. +node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(627,7): error TS2322: Type 'ChildNode & Node' is not assignable to type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(43,50): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(48,45): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(134,47): error TS2339: Property 'boxInWindow' does not exist on type 'Element'. @@ -13156,7 +13120,7 @@ node_modules/chrome-devtools-frontend/front_end/ui/View.js(163,3): error TS4112: node_modules/chrome-devtools-frontend/front_end/ui/View.js(171,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'ProvidedView' does not extend another class. node_modules/chrome-devtools-frontend/front_end/ui/View.js(179,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'ProvidedView' does not extend another class. node_modules/chrome-devtools-frontend/front_end/ui/View.js(187,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'ProvidedView' does not extend another class. -node_modules/chrome-devtools-frontend/front_end/ui/View.js(195,47): error TS2352: Conversion of type 'Widget' to type 'ItemsProvider' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/ui/View.js(195,54): error TS2352: Conversion of type 'Widget' to type 'ItemsProvider' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Property 'toolbarItems' is missing in type 'Widget' but required in type 'ItemsProvider'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(203,9): error TS4112: This member cannot have an 'override' modifier because its containing class 'ProvidedView' does not extend another class. node_modules/chrome-devtools-frontend/front_end/ui/View.js(215,9): error TS4112: This member cannot have an 'override' modifier because its containing class 'ProvidedView' does not extend another class. @@ -13228,15 +13192,15 @@ node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(513,25): error TS23 node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(593,55): error TS2339: Property 'removeChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(669,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(693,51): error TS2339: Property 'deepActiveElement' does not exist on type 'Document'. -node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(713,1): error TS2322: Type '(child: Node) => Node' is not assignable to type '(newChild: T) => T'. +node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(713,1): error TS2322: Type '(child: Node) => Node' is not assignable to type '(node: T) => T'. Type 'Node' is not assignable to type 'T'. 'Node' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Node'. node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(715,14): error TS2339: Property '__widget' does not exist on type 'Node'. -node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(726,1): error TS2322: Type '(child: Node, anchor: Node) => Node' is not assignable to type '(newChild: T, refChild: Node) => T'. +node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(726,1): error TS2322: Type '(child: Node, anchor: Node) => Node' is not assignable to type '(node: T, child: Node) => T'. Type 'Node' is not assignable to type 'T'. 'Node' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Node'. node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(728,14): error TS2339: Property '__widget' does not exist on type 'Node'. -node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(738,1): error TS2322: Type '(child: Node) => Node' is not assignable to type '(oldChild: T) => T'. +node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(738,1): error TS2322: Type '(child: Node) => Node' is not assignable to type '(child: T) => T'. Type 'Node' is not assignable to type 'T'. 'Node' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint 'Node'. node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(740,14): error TS2339: Property '__widgetCounter' does not exist on type 'Node'. @@ -13403,8 +13367,8 @@ node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(180,15): node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(188,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(199,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(204,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. -node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(243,25): error TS2352: Conversion of type 'this' to type 'Project' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. -node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(243,25): error TS2352: Conversion of type 'this' to type 'Project' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(243,32): error TS2352: Conversion of type 'this' to type 'Project' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. +node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(243,32): error TS2352: Conversion of type 'this' to type 'Project' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'ProjectStore' is missing the following properties from type 'Project': isServiceProject, requestMetadata, requestFileContent, canSetFileContent, and 14 more. node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(432,27): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/workspace_diff/WorkspaceDiff.js(38,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. diff --git a/tests/baselines/reference/user/create-react-app.log b/tests/baselines/reference/user/create-react-app.log index 3878f2a1b99b4..5064af07ebab8 100644 --- a/tests/baselines/reference/user/create-react-app.log +++ b/tests/baselines/reference/user/create-react-app.log @@ -1,12 +1,8 @@ Exit Code: 2 Standard output: test/fixtures/issue-5176-flow-class-properties/src/App.js(5,8): error TS8010: Type annotations can only be used in TypeScript files. -test/fixtures/issue-5176-flow-class-properties/src/App.js(5,13): error TS1005: ';' expected. -test/fixtures/webpack-message-formatting/src/AppBabel.js(6,8): error TS17008: JSX element 'div' has no corresponding closing tag. -test/fixtures/webpack-message-formatting/src/AppBabel.js(8,7): error TS17002: Expected corresponding JSX closing tag for 'span'. -test/fixtures/webpack-message-formatting/src/AppBabel.js(10,3): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`? -test/fixtures/webpack-message-formatting/src/AppBabel.js(11,1): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`? -test/fixtures/webpack-message-formatting/src/AppBabel.js(14,1): error TS1005: ' any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: { ...; }; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. 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; }'. 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; }'. @@ -27,8 +28,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'. diff --git a/tests/baselines/reference/user/enhanced-resolve.log b/tests/baselines/reference/user/enhanced-resolve.log index b75f62638f53e..d8e4045e80db3 100644 --- a/tests/baselines/reference/user/enhanced-resolve.log +++ b/tests/baselines/reference/user/enhanced-resolve.log @@ -7,23 +7,23 @@ node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(125,23): error TS2345 Type 'undefined' is not assignable to type 'Set'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(127,18): error TS2769: No overload matches this call. Overload 1 of 2, '(intervalId: Timeout): void', gave the following error. - Argument of type 'Timeout | null' is not assignable to parameter of type 'Timeout'. + Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'. Type 'null' is not assignable to type 'Timeout'. Overload 2 of 2, '(handle?: number | undefined): void', gave the following error. - Argument of type 'Timeout | null' is not assignable to parameter of type 'number | undefined'. + Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'. Type 'null' is not assignable to type 'number | undefined'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(143,18): error TS2769: No overload matches this call. Overload 1 of 2, '(intervalId: Timeout): void', gave the following error. - Argument of type 'Timeout | null' is not assignable to parameter of type 'Timeout'. + Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'. Type 'null' is not assignable to type 'Timeout'. Overload 2 of 2, '(handle?: number | undefined): void', gave the following error. - Argument of type 'Timeout | null' is not assignable to parameter of type 'number | undefined'. + Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(162,18): error TS2769: No overload matches this call. Overload 1 of 2, '(intervalId: Timeout): void', gave the following error. - Argument of type 'Timeout | null' is not assignable to parameter of type 'Timeout'. + Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'. Type 'null' is not assignable to type 'Timeout'. Overload 2 of 2, '(handle?: number | undefined): void', gave the following error. - Argument of type 'Timeout | null' is not assignable to parameter of type 'number | undefined'. + Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(192,20): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(197,24): error TS2322: Type 'null' is not assignable to type '(path: any) => any'. 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 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(188,17): error TS2339: Property 'replace' does not exist on type 'never'. diff --git a/tests/baselines/reference/user/follow-redirects.log b/tests/baselines/reference/user/follow-redirects.log index 0299a60a4daad..9d091134010f3 100644 --- a/tests/baselines/reference/user/follow-redirects.log +++ b/tests/baselines/reference/user/follow-redirects.log @@ -1,32 +1,34 @@ 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(390,72): error TS2571: Object is of type 'unknown'. +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'. diff --git a/tests/baselines/reference/user/fp-ts.log b/tests/baselines/reference/user/fp-ts.log deleted file mode 100644 index 0b2afad24d5ba..0000000000000 --- a/tests/baselines/reference/user/fp-ts.log +++ /dev/null @@ -1,40 +0,0 @@ -Exit Code: 134 -Standard output: -Security context: 0x3dea4659d9f1 - 2: replace [0x3dea4658f591](this=0x03d0e4277831 ,0x03d0e4277891 >,0x03d0e42778c9 ) - 3: recursiveTypeRelatedTo(aka recursiveTypeRelatedTo) [0x3d0e4276bd9] [../../../built/local/tsc.js:~60789] [pc=0x1d8e6d0052c9](this=0x026cc8702... - - -==== JS stack trace ========================================= - - 0: ExitFrame [pc: 0x1d8e6bdcfc5d] - 1: StubFrame [pc: 0x1d8e6bdc6db0] -<--- JS stacktrace ---> - -[10593:0x40cb7d0] 46251 ms: Mark-sweep 1351.3 (1446.4) -> 1338.0 (1447.9) MB, 1143.3 / 0.0 ms (average mu = 0.207, current mu = 0.203) allocation failure scavenge might not succeed - - -[10593:0x40cb7d0] 44816 ms: Mark-sweep 1350.1 (1444.9) -> 1336.4 (1445.9) MB, 1217.8 / 0.0 ms (average mu = 0.211, current mu = 0.155) allocation failure scavenge might not succeed -<--- Last few GCs ---> - - - - -Standard error: -FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory - -Writing Node.js report to file: report.20210406.144020.10593.0.001.json -Node.js report completed - 1: 0x95bd00 node::Abort() [node] - 2: 0x95cc46 node::OnFatalError(char const*, char const*) [node] - 3: 0xb3dbde v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node] - 4: 0xb3de14 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node] - 5: 0xf3ce52 [node] - 6: 0xf3cf58 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [node] - 7: 0xf49678 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node] - 8: 0xf4a18b v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node] - 9: 0xf4cec1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node] -10: 0xf170f4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node] -11: 0x11cd3fe v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node] -12: 0x1d8e6bdcfc5d -Aborted (core dumped) diff --git a/tests/baselines/reference/user/graceful-fs.log b/tests/baselines/reference/user/graceful-fs.log index 988ffc5e5921a..367c6de8b8622 100644 --- a/tests/baselines/reference/user/graceful-fs.log +++ b/tests/baselines/reference/user/graceful-fs.log @@ -4,7 +4,7 @@ node_modules/graceful-fs/clone.js(16,9): error TS2403: Subsequent variable decla node_modules/graceful-fs/clone.js(19,38): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType'. Type 'undefined' is not assignable to type 'PropertyDescriptor'. -node_modules/graceful-fs/graceful-fs.js(34,3): error TS2322: Type '(msg: string, ...param: any[]) => void' is not assignable to type '() => void'. +node_modules/graceful-fs/graceful-fs.js(34,3): error TS2322: Type 'DebugLogger' is not assignable to type '() => void'. 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[]]'. 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'. node_modules/graceful-fs/graceful-fs.js(74,30): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[fd: number]'. @@ -39,6 +39,7 @@ node_modules/graceful-fs/legacy-streams.js(99,36): error TS2339: Property 'start node_modules/graceful-fs/legacy-streams.js(102,16): error TS2339: Property 'start' does not exist on type 'WriteStream'. node_modules/graceful-fs/legacy-streams.js(106,23): error TS2339: Property 'start' does not exist on type 'WriteStream'. node_modules/graceful-fs/legacy-streams.js(115,12): error TS2339: Property 'flush' does not exist on type 'WriteStream'. +node_modules/graceful-fs/polyfills.js(149,13): error TS2571: Object is of type 'unknown'. diff --git a/tests/baselines/reference/user/grunt.log b/tests/baselines/reference/user/grunt.log index 88c6738046c2e..76ef3479d395e 100644 --- a/tests/baselines/reference/user/grunt.log +++ b/tests/baselines/reference/user/grunt.log @@ -17,16 +17,24 @@ lib/grunt/file.js(35,39): error TS2345: Argument of type 'IArguments' is not ass Type 'IArguments' is missing the following properties from type 'string[]': pop, push, concat, join, and 26 more. 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]'. lib/grunt/file.js(182,13): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/file.js(186,91): error TS2571: Object is of type 'unknown'. +lib/grunt/file.js(224,85): error TS2571: Object is of type 'unknown'. lib/grunt/file.js(234,25): error TS2345: Argument of type 'string | Buffer' is not assignable to parameter of type 'string'. Type 'Buffer' is not assignable to type 'string'. +lib/grunt/file.js(239,74): error TS2571: Object is of type 'unknown'. +lib/grunt/file.js(263,74): error TS2571: Object is of type 'unknown'. lib/grunt/file.js(270,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/file.js(288,86): error TS2571: Object is of type 'unknown'. lib/grunt/file.js(333,7): error TS2367: This condition will always return 'false' since the types 'string | Buffer' and 'boolean' have no overlap. lib/grunt/file.js(344,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. lib/grunt/file.js(346,29): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. lib/grunt/file.js(361,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. lib/grunt/file.js(365,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/file.js(379,75): error TS2571: Object is of type 'unknown'. lib/grunt/file.js(385,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. lib/grunt/file.js(391,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. +lib/grunt/file.js(395,9): error TS2571: Object is of type 'unknown'. +lib/grunt/file.js(399,85): error TS2571: Object is of type 'unknown'. lib/grunt/file.js(405,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. lib/grunt/file.js(411,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. 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 lib/grunt/task.js(248,29): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation. lib/grunt/task.js(273,27): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. lib/grunt/task.js(274,25): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. +lib/grunt/task.js(278,21): error TS2571: Object is of type 'unknown'. lib/grunt/task.js(285,35): error TS2339: Property 'config' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/task.js(331,48): error TS2571: Object is of type 'unknown'. lib/grunt/task.js(348,23): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/task.js(354,29): error TS2571: Object is of type 'unknown'. lib/grunt/task.js(361,13): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. lib/grunt/task.js(377,14): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. 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 lib/grunt/template.js(31,39): error TS2339: Property 'closer' does not exist on type '{}'. lib/grunt/template.js(33,14): error TS2339: Property 'lodash' does not exist on type '{}'. lib/grunt/template.js(60,50): error TS2339: Property 'config' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/template.js(85,5): error TS2571: Object is of type 'unknown'. +lib/grunt/template.js(85,69): error TS2571: Object is of type 'unknown'. lib/grunt/template.js(86,11): error TS2339: Property 'warn' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. lib/grunt/template.js(86,25): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. 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[]]'. diff --git a/tests/baselines/reference/user/lodash.log b/tests/baselines/reference/user/lodash.log index efd42be369176..d4b8e00ba5c29 100644 --- a/tests/baselines/reference/user/lodash.log +++ b/tests/baselines/reference/user/lodash.log @@ -173,7 +173,7 @@ node_modules/lodash/_memoizeCapped.js(22,22): error TS2339: Property 'cache' doe node_modules/lodash/_mergeData.js(60,26): error TS2554: Expected 4 arguments, but got 3. node_modules/lodash/_mergeData.js(67,26): error TS2554: Expected 4 arguments, but got 3. node_modules/lodash/_nodeUtil.js(7,80): error TS2339: Property 'nodeType' does not exist on type '{ exports: any; }'. -node_modules/lodash/_nodeUtil.js(13,47): error TS2339: Property 'process' does not exist on type 'false | (Global & typeof globalThis)'. +node_modules/lodash/_nodeUtil.js(13,47): error TS2339: Property 'process' does not exist on type 'false | typeof globalThis'. Property 'process' does not exist on type 'false'. node_modules/lodash/_overRest.js(15,32): error TS1016: A required parameter cannot follow an optional parameter. node_modules/lodash/_overRest.js(20,42): error TS2532: Object is possibly 'undefined'. @@ -182,12 +182,18 @@ 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'. node_modules/lodash/ary.js(23,23): error TS1016: A required parameter cannot follow an optional parameter. +node_modules/lodash/attempt.js(31,39): error TS2345: Argument of type 'unknown' is not assignable to parameter of type 'string | undefined'. + Type 'unknown' is not assignable to type 'string'. node_modules/lodash/before.js(34,7): error TS2322: Type 'undefined' is not assignable to type 'Function'. node_modules/lodash/bind.js(51,55): error TS2454: Variable 'holders' is used before being assigned. node_modules/lodash/bind.js(55,6): error TS2339: Property 'placeholder' does not exist on type 'Function'. diff --git a/tests/baselines/reference/user/minimatch.log b/tests/baselines/reference/user/minimatch.log index cf9ffb8986e0c..f9be18d63af2a 100644 --- a/tests/baselines/reference/user/minimatch.log +++ b/tests/baselines/reference/user/minimatch.log @@ -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'. diff --git a/tests/baselines/reference/user/mqtt.log b/tests/baselines/reference/user/mqtt.log new file mode 100644 index 0000000000000..ec41e8ba7f33e --- /dev/null +++ b/tests/baselines/reference/user/mqtt.log @@ -0,0 +1,8 @@ +Exit Code: 2 +Standard output: +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. + Try `npm i --save-dev @types/ws` if it exists or add a new declaration (.d.ts) file containing `declare module 'ws';` + + + +Standard error: diff --git a/tests/baselines/reference/user/npm.log b/tests/baselines/reference/user/npm.log index 4475a63032f31..fafe28de49c50 100644 --- a/tests/baselines/reference/user/npm.log +++ b/tests/baselines/reference/user/npm.log @@ -1,21 +1,24 @@ Exit Code: 2 Standard output: lib/access.js(27,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Access'. +lib/access.js(197,13): error TS2571: Object is of type 'unknown'. 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/auth/legacy.js(43,11): error TS2571: Object is of type 'unknown'. +lib/auth/legacy.js(61,9): error TS2571: Object is of type 'unknown'. +lib/base-command.js(19,29): error TS2339: Property 'description' does not exist on type 'Function'. +lib/base-command.js(24,26): error TS2339: Property 'description' does not exist on type 'Function'. +lib/base-command.js(25,43): error TS2339: Property 'description' does not exist on type 'Function'. +lib/base-command.js(28,27): error TS2339: Property 'usage' does not exist on type 'Function'. +lib/base-command.js(31,43): error TS2339: Property 'usage' does not exist on type 'Function'. +lib/base-command.js(33,26): error TS2339: Property 'params' does not exist on type 'Function'. +lib/base-command.js(46,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(122,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(123,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'. @@ -23,8 +26,7 @@ lib/ci.js(18,16): 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/ci.js(29,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'CI'. -lib/ci.js(40,11): error TS2339: Property 'code' does not exist on type 'Error'. -lib/cli.js(47,27): error TS2339: Property 'exit' does not exist on type '(er: any) => void'. +lib/ci.js(49,11): error TS2339: Property 'code' does not exist on type 'Error'. lib/completion.js(54,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Completion'. lib/completion.js(65,26): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. @@ -33,160 +35,177 @@ lib/completion.js(66,26): error TS2345: Argument of type 'string | undefined' is lib/completion.js(208,7): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? lib/completion.js(228,9): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? lib/config.js(38,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Config'. -lib/config.js(218,16): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/config.js(228,16): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? lib/dedupe.js(14,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Dedupe'. -lib/dedupe.js(25,10): error TS2339: Property 'code' does not exist on type 'Error'. +lib/dedupe.js(42,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/docs.js(15,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Docs'. +lib/diff.js(93,33): error TS2531: Object is possibly 'null'. +lib/dist-tag.js(21,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'DistTag'. +lib/dist-tag.js(184,24): error TS2532: Object is possibly 'undefined'. +lib/docs.js(14,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[]'. -lib/doctor.js(80,36): error TS2538: Type 'any[]' cannot be used as an index type. -lib/doctor.js(82,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'. -lib/doctor.js(92,9): error TS2322: Type 'string | false | any[]' is not assignable to type 'boolean'. +lib/doctor.js(85,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'. +lib/doctor.js(85,36): error TS2538: Type 'any[]' cannot be used as an index type. +lib/doctor.js(87,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'. +lib/doctor.js(97,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(103,9): error TS2322: Type 'string | false | any[]' is not assignable to type 'boolean'. +lib/doctor.js(134,27): error TS2571: Object is of type 'unknown'. +lib/doctor.js(135,15): error TS2571: Object is of type 'unknown'. +lib/doctor.js(135,41): error TS2571: Object is of type 'unknown'. +lib/doctor.js(137,15): error TS2571: Object is of type 'unknown'. +lib/doctor.js(189,7): error TS2322: Type 'number' is not assignable to type 'null'. +lib/doctor.js(221,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/edit.js(61,13): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/exec.js(42,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Exec'. +lib/exec.js(59,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/exec.js(106,24): error TS2531: Object is possibly 'null'. 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/explain.js(35,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'. -lib/help.js(73,26): error TS2531: Object is possibly 'null'. -lib/help.js(74,26): error TS2531: Object is possibly 'null'. -lib/help.js(78,16): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. -lib/help.js(78,29): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. -lib/help.js(98,9): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? -lib/help.js(132,35): error TS2769: No overload matches this call. +lib/help.js(78,26): error TS2531: Object is possibly 'null'. +lib/help.js(79,26): error TS2531: Object is possibly 'null'. +lib/help.js(83,16): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. +lib/help.js(83,29): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. +lib/help.js(103,9): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/help.js(137,35): error TS2769: No overload matches this call. The last overload gave the following error. Argument of type '{ env: {}; stdio: string; }' is not assignable to parameter of type 'SpawnOptions'. Types of property 'stdio' are incompatible. Type 'string' is not assignable to type 'StdioOptions | undefined'. -lib/help.js(134,12): error TS2339: Property 'on' does not exist on type 'never'. +lib/help.js(139,12): error TS2339: Property 'on' does not exist on type 'never'. The intersection 'ChildProcessWithoutNullStreams & ChildProcessByStdio & ... 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/help.js(143,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(171,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'. lib/link.js(21,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Link'. lib/ll.js(5,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'LL'. lib/logout.js(13,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Logout'. -lib/ls.js(32,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'LS'. -lib/ls.js(43,33): error TS2554: Expected 0-1 arguments, but got 2. -lib/npm.js(56,18): error TS2769: No overload matches this call. +lib/ls.js(33,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'LS'. +lib/ls.js(61,33): error TS2554: Expected 0-1 arguments, but got 2. +lib/npm.js(81,18): 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'. -lib/npm.js(85,18): error TS2769: No overload matches this call. +lib/npm.js(120,18): 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'. -lib/npm.js(112,22): error TS2769: No overload matches this call. +lib/npm.js(150,22): 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(117,22): error TS2769: No overload matches this call. +lib/npm.js(155,22): 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(139,18): error TS2769: No overload matches this call. +lib/npm.js(166,20): 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'. -lib/npm.js(147,20): error TS2769: No overload matches this call. +lib/npm.js(174,24): 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(166,18): error TS2769: No overload matches this call. +lib/npm.js(177,11): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? +lib/npm.js(203,18): 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'. -lib/npm.js(168,18): error TS2769: No overload matches this call. +lib/npm.js(210,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(175,18): error TS2769: No overload matches this call. +lib/npm.js(217,18): 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'. -lib/npm.js(177,18): error TS2769: No overload matches this call. +lib/npm.js(219,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(186,18): error TS2769: No overload matches this call. +lib/npm.js(228,18): 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'. -lib/npm.js(190,18): error TS2769: No overload matches this call. +lib/npm.js(232,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(192,18): error TS2769: No overload matches this call. +lib/npm.js(234,18): 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'. -lib/npm.js(194,18): error TS2769: No overload matches this call. +lib/npm.js(236,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(197,18): error TS2769: No overload matches this call. +lib/npm.js(239,18): 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'. -lib/npm.js(199,18): error TS2769: No overload matches this call. +lib/npm.js(241,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(203,18): error TS2769: No overload matches this call. +lib/npm.js(245,18): 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'. -lib/npm.js(207,18): error TS2769: No overload matches this call. +lib/npm.js(249,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(209,18): error TS2769: No overload matches this call. +lib/npm.js(251,18): 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'. -lib/npm.js(212,18): error TS2769: No overload matches this call. +lib/npm.js(254,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'. -lib/outdated.js(125,9): error TS2532: Object is possibly 'undefined'. -lib/outdated.js(128,9): error TS2532: Object is possibly 'undefined'. -lib/outdated.js(180,9): error TS2532: Object is possibly 'undefined'. +lib/outdated.js(166,5): error TS2532: Object is possibly 'undefined'. +lib/outdated.js(236,9): error TS2532: Object is possibly 'undefined'. +lib/outdated.js(252,9): error TS2571: Object is of type 'unknown'. +lib/outdated.js(253,9): error TS2571: Object is of type 'unknown'. +lib/outdated.js(254,9): error TS2571: Object is of type 'unknown'. lib/owner.js(16,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Owner'. -lib/owner.js(150,27): error TS2339: Property 'name' does not exist on type 'string'. -lib/owner.js(150,37): error TS2339: Property 'error' does not exist on type 'string'. -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/owner.js(167,27): error TS2339: Property 'name' does not exist on type 'string'. +lib/owner.js(167,37): error TS2339: Property 'error' does not exist on type 'string'. +lib/owner.js(177,5): error TS2322: Type '{ name: any; email: any; }' is not assignable to type 'string'. +lib/owner.js(177,19): error TS2339: Property 'name' does not exist on type 'string'. +lib/owner.js(177,34): error TS2339: Property 'email' does not exist on type 'string'. +lib/pack.js(21,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Pack'. +lib/pack.js(108,26): error TS2488: Type 'any[] | null' must have a '[Symbol.iterator]()' method that returns an iterator. lib/ping.js(17,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Ping'. +lib/pkg.js(11,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Pkg'. 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/publish.js(167,13): error TS2571: Object is of type 'unknown'. 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'. +lib/rebuild.js(36,33): error TS2554: Expected 0-1 arguments, but got 2. +lib/repo.js(16,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Repo'. lib/restart.js(11,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Restart'. lib/root.js(9,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Root'. lib/root.js(19,15): error TS2554: Expected 0 arguments, but got 1. -lib/run-script.js(20,20): error TS2769: No overload matches this call. +lib/run-script.js(19,20): error TS2769: No overload matches this call. Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Type 'string' is not assignable to type 'never'. Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Type 'string' is not assignable to type 'never'. Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Type 'string' is not assignable to type 'never'. -lib/run-script.js(43,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'RunScript'. -lib/run-script.js(76,63): error TS2525: Initializer provides no value for this binding element and the binding element has no default value. +lib/run-script.js(48,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'RunScript'. +lib/run-script.js(81,63): error TS2525: Initializer provides no value for this binding element and the binding element has no default value. +lib/run-script.js(199,33): error TS2531: Object is possibly 'null'. +lib/run-script.js(235,35): error TS2531: Object is possibly 'null'. +lib/run-script.js(244,35): error TS2531: Object is possibly 'null'. +lib/run-script.js(252,33): error TS2531: Object is possibly 'null'. lib/search.js(35,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Search'. lib/search/format-package-stream.js(40,19): error TS2339: Property 'emit' does not exist on type 'JSONOutputStream'. -lib/set-script.js(21,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'SetScript'. +lib/set-script.js(19,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'SetScript'. +lib/set-script.js(75,33): error TS2571: Object is of type 'unknown'. lib/set.js(9,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Set'. lib/shrinkwrap.js(16,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Shrinkwrap'. lib/shrinkwrap.js(34,10): error TS2339: Property 'code' does not exist on type 'Error'. @@ -198,18 +217,25 @@ lib/team.js(13,14): error TS2699: Static property 'name' conflicts with built-in lib/test.js(11,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Test'. lib/token.js(18,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Token'. lib/uninstall.js(15,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Uninstall'. -lib/unpublish.js(20,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Unpublish'. +lib/uninstall.js(54,15): error TS2571: Object is of type 'unknown'. +lib/uninstall.js(54,39): error TS2571: Object is of type 'unknown'. +lib/unpublish.js(19,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Unpublish'. +lib/unpublish.js(104,20): error TS2571: Object is of type 'unknown'. +lib/unpublish.js(104,45): error TS2571: Object is of type 'unknown'. +lib/unpublish.js(141,24): error TS2532: Object is possibly 'undefined'. lib/unstar.js(10,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Unstar'. lib/update.js(17,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Update'. -lib/update.js(33,33): error TS2554: Expected 0-1 arguments, but got 2. +lib/update.js(46,33): error TS2554: Expected 0-1 arguments, but got 2. lib/utils/cleanup-log-files.js(15,16): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? lib/utils/cleanup-log-files.js(19,16): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? lib/utils/cleanup-log-files.js(27,13): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? lib/utils/config/definition.js(48,52): error TS2339: Property 'default' does not exist on type 'Definition'. lib/utils/config/definition.js(50,48): error TS2339: Property 'type' does not exist on type 'Definition'. -lib/utils/config/definition.js(73,39): error TS2339: Property 'description' does not exist on type 'Definition'. -lib/utils/config/definition.js(77,30): error TS2339: Property 'deprecated' does not exist on type 'Definition'. -lib/utils/config/definition.js(78,40): error TS2339: Property 'deprecated' does not exist on type 'Definition'. +lib/utils/config/definition.js(53,16): error TS2339: Property 'type' does not exist on type 'Definition'. +lib/utils/config/definition.js(77,39): error TS2339: Property 'description' does not exist on type 'Definition'. +lib/utils/config/definition.js(81,30): error TS2339: Property 'deprecated' does not exist on type 'Definition'. +lib/utils/config/definition.js(82,40): error TS2339: Property 'deprecated' does not exist on type 'Definition'. +lib/utils/config/definitions.js(19,9): error TS2571: Object is of type 'unknown'. lib/utils/config/definitions.js(66,14): error TS2532: Object is possibly 'undefined'. lib/utils/config/definitions.js(67,41): error TS2769: No overload matches this call. Overload 1 of 2, '(...items: ConcatArray[]): null[]', gave the following error. @@ -222,16 +248,16 @@ lib/utils/config/definitions.js(67,41): error TS2769: No overload matches this c lib/utils/config/definitions.js(74,3): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. lib/utils/config/index.js(35,22): error TS2322: Type 'string' is not assignable to type 'never'. -lib/utils/error-handler.js(34,16): error TS2769: No overload matches this call. +lib/utils/exit-handler.js(27,16): 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/utils/error-handler.js(149,11): error TS2339: Property 'code' does not exist on type 'Error'. -lib/utils/error-handler.js(151,8): error TS2339: Property 'code' does not exist on type 'Error'. -lib/utils/error-handler.js(182,18): error TS2339: Property 'code' does not exist on type 'Error'. -lib/utils/error-handler.js(190,18): error TS2339: Property 'errno' does not exist on type 'Error'. -lib/utils/error-handler.js(190,42): error TS2339: Property 'errno' does not exist on type 'Error'. -lib/utils/error-handler.js(190,60): error TS2339: Property 'code' does not exist on type 'Error'. -lib/utils/error-handler.js(190,83): error TS2339: Property 'code' does not exist on type 'Error'. +lib/utils/exit-handler.js(127,16): error TS2339: Property 'code' does not exist on type 'Error'. +lib/utils/exit-handler.js(129,13): error TS2339: Property 'code' does not exist on type 'Error'. +lib/utils/exit-handler.js(159,23): error TS2339: Property 'code' does not exist on type 'Error'. +lib/utils/exit-handler.js(167,22): error TS2339: Property 'errno' does not exist on type 'Error'. +lib/utils/exit-handler.js(168,24): error TS2339: Property 'errno' does not exist on type 'Error'. +lib/utils/exit-handler.js(169,27): error TS2339: Property 'code' does not exist on type 'Error'. +lib/utils/exit-handler.js(170,24): error TS2339: Property 'code' does not exist on type 'Error'. lib/utils/is-windows-bash.js(3,26): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. lib/utils/npm-usage.js(61,15): error TS2322: Type 'string' is not assignable to type 'never'. @@ -242,26 +268,29 @@ lib/utils/npm-usage.js(66,61): error TS2339: Property 'length' does not exist on lib/utils/npm-usage.js(67,14): error TS2339: Property 'split' does not exist on type 'never'. lib/utils/open-url.js(42,14): error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'? lib/utils/path.js(4,18): error TS2532: Object is possibly 'undefined'. -lib/utils/perf.js(11,18): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '"timing"' is not assignable to parameter of type '"removeListener"'. -lib/utils/reify-output.js(74,40): error TS2769: No overload matches this call. +lib/utils/queryable.js(287,24): error TS2525: Initializer provides no value for this binding element and the binding element has no default value. +lib/utils/queryable.js(298,12): error TS2345: Argument of type '{ data: any; key: any; value: symbol; }' is not assignable to parameter of type '{ data: any; key: any; value: any; force: any; }'. + Property 'force' is missing in type '{ data: any; key: any; value: symbol; }' but required in type '{ data: any; key: any; value: any; force: any; }'. +lib/utils/reify-output.js(79,40): error TS2769: No overload matches this call. Overload 1 of 2, '(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string', gave the following error. Argument of type '0' is not assignable to parameter of type '((this: any, key: string, value: any) => any) | undefined'. Overload 2 of 2, '(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string', gave the following error. Argument of type '0' is not assignable to parameter of type '(string | number)[] | null | undefined'. -lib/utils/update-notifier.js(29,50): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. +lib/utils/update-notifier.js(32,50): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. lib/utils/usage.js(8,21): error TS2769: No overload matches this call. Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type 'string' is not assignable to parameter of type 'ConcatArray'. Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type 'string' is not assignable to parameter of type 'ConcatArray'. -lib/version.js(10,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Version'. +lib/version.js(14,14): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Version'. +lib/version.js(130,24): error TS2531: Object is possibly 'null'. 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(164,24): error TS2532: Object is possibly 'undefined'. +lib/view.js(217,10): error TS2339: Property 'statusCode' does not exist on type 'Error'. +lib/view.js(218,10): error TS2339: Property 'code' does not exist on type 'Error'. +lib/view.js(219,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(18,14): error TS2339: Property 'exec' does not exist on type 'ArboristCmd'. diff --git a/tests/baselines/reference/user/npmlog.log b/tests/baselines/reference/user/npmlog.log index 9277dee1127d0..ed5e24c2096a3 100644 --- a/tests/baselines/reference/user/npmlog.log +++ b/tests/baselines/reference/user/npmlog.log @@ -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)'. @@ -21,13 +22,16 @@ node_modules/npmlog/log.js(207,18): error TS2339: Property 'maxRecordSize' does node_modules/npmlog/log.js(208,11): error TS2532: Object is possibly 'undefined'. node_modules/npmlog/log.js(211,19): error TS2532: Object is possibly 'undefined'. node_modules/npmlog/log.js(214,8): error TS2339: Property 'emitLog' does not exist on type '(Anonymous function)'. -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'? +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'? node_modules/npmlog/log.js(271,16): error TS2769: No overload matches this call. Overload 1 of 2, '(buffer: string | Uint8Array, cb?: ((err?: Error | undefined) => void) | undefined): boolean', gave the following error. Argument of type 'string | undefined' is not assignable to parameter of type 'string | Uint8Array'. Type 'undefined' is not assignable to type 'string | Uint8Array'. Overload 2 of 2, '(str: string | Uint8Array, encoding?: BufferEncoding | undefined, cb?: ((err?: Error | undefined) => void) | undefined): boolean', gave the following error. Argument of type 'string | undefined' is not assignable to parameter of type 'string | Uint8Array'. +node_modules/npmlog/log.js(277,8): error TS2339: Property 'levels' does not exist on type 'addLevel'. +node_modules/npmlog/log.js(278,8): error TS2339: Property 'style' does not exist on type 'addLevel'. +node_modules/npmlog/log.js(289,8): error TS2339: Property 'disp' does not exist on type 'addLevel'. diff --git a/tests/baselines/reference/user/soap.log b/tests/baselines/reference/user/soap.log index a3f03a8381276..9e3c563c96b60 100644 --- a/tests/baselines/reference/user/soap.log +++ b/tests/baselines/reference/user/soap.log @@ -1,11 +1,5 @@ Exit Code: 2 Standard output: -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. - Try `npm i --save-dev @types/request` if it exists or add a new declaration (.d.ts) file containing `declare module 'request';` -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. - Try `npm i --save-dev @types/request` if it exists or add a new declaration (.d.ts) file containing `declare module 'request';` -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. - Try `npm i --save-dev @types/request` if it exists or add a new declaration (.d.ts) file containing `declare module 'request';` 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. Try `npm i --save-dev @types/sax` if it exists or add a new declaration (.d.ts) file containing `declare module 'sax';` diff --git a/tests/baselines/reference/user/uglify-js.log b/tests/baselines/reference/user/uglify-js.log index 2da7614ff8693..bfeefe3191165 100644 --- a/tests/baselines/reference/user/uglify-js.log +++ b/tests/baselines/reference/user/uglify-js.log @@ -1,267 +1,324 @@ Exit Code: 2 Standard output: -node_modules/uglify-js/lib/ast.js(128,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/ast.js(346,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/ast.js(559,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/ast.js(1970,5): error TS2322: Type '{ visit: (node: any, descend: any) => void; parent: (n: any) => any; push: typeof push; pop: typeof pop; self: () => any; find_parent: (type: any) => any; has_directive: (type: any) => any; loopcontrol_target: (node: any) => any; in_boolean_context: () => boolean | undefined; }' is not assignable to type 'TreeWalker'. +node_modules/uglify-js/lib/ast.js(124,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/ast.js(342,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/ast.js(555,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/ast.js(1966,5): error TS2322: Type '{ visit: (node: any, descend: any) => void; parent: (n: any) => any; push: typeof push; pop: typeof pop; self: () => any; find_parent: (type: any) => any; has_directive: (type: any) => any; loopcontrol_target: (node: any) => any; in_boolean_context: () => boolean | undefined; }' is not assignable to type 'TreeWalker'. Object literal may only specify known properties, and 'visit' does not exist in type 'TreeWalker'. -node_modules/uglify-js/lib/ast.js(1971,14): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/ast.js(1974,14): error TS2339: Property 'pop' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/ast.js(2029,25): error TS2339: Property 'self' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/ast.js(2030,37): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/ast.js(2046,52): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(203,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(673,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(768,16): error TS2339: Property 'walk' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(768,36): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(778,28): error TS2339: Property 'uses_arguments' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(779,16): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(782,32): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(788,27): error TS2339: Property 'rest' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(790,27): error TS2339: Property 'rest' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(791,50): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(1122,20): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1122,46): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1122,72): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1128,26): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1173,26): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1182,56): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1186,26): error TS2339: Property 'in_arg' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1187,34): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1197,49): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1212,42): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1341,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1346,12): error TS2339: Property 'defun_ids' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1347,12): error TS2339: Property 'defun_visited' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1349,12): error TS2339: Property 'in_loop' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1350,12): error TS2339: Property 'loop_ids' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1355,12): error TS2339: Property 'safe_ids' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1403,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1431,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1629,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1731,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1746,51): error TS2349: This expression is not callable. +node_modules/uglify-js/lib/compress.js(217,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(728,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(826,16): error TS2339: Property 'walk' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(826,36): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(836,28): error TS2339: Property 'uses_arguments' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(837,16): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(840,32): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(846,27): error TS2339: Property 'rest' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(848,27): error TS2339: Property 'rest' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(849,50): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(1186,43): error TS2339: Property 'safe_ids' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1193,20): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1193,46): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1193,72): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1198,26): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1201,43): error TS2339: Property 'safe_ids' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1248,26): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1266,56): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1270,26): error TS2339: Property 'in_arg' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1271,34): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1280,49): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1293,42): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1454,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1459,12): error TS2339: Property 'fn_scanning' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1460,12): error TS2339: Property 'fn_visited' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1462,12): error TS2339: Property 'in_loop' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1463,12): error TS2339: Property 'loop_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1468,12): error TS2339: Property 'safe_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1516,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1544,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1742,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1861,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1876,51): error TS2349: This expression is not callable. Not all constituents of type 'true | ((node: any, tw: any) => any)' are callable. Type 'true' has no call signatures. -node_modules/uglify-js/lib/compress.js(1800,61): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1855,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1876,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1931,77): error TS2454: Variable 'args' is used before being assigned. -node_modules/uglify-js/lib/compress.js(1932,33): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(1932,42): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(1955,29): error TS2322: Type 'boolean' is not assignable to type 'number'. -node_modules/uglify-js/lib/compress.js(1957,25): error TS2322: Type 'boolean' is not assignable to type 'never'. -node_modules/uglify-js/lib/compress.js(2187,65): error TS2339: Property 'find_parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(2190,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2368,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2398,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2405,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2408,35): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2450,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2481,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2496,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2521,35): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2527,45): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2528,33): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2530,33): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2614,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2635,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2675,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2832,53): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. +node_modules/uglify-js/lib/compress.js(1933,61): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1989,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2008,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2076,77): error TS2454: Variable 'args' is used before being assigned. +node_modules/uglify-js/lib/compress.js(2077,33): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(2077,42): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(2085,42): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(2085,54): error TS2365: Operator '+' cannot be applied to types 'number' and 'boolean'. +node_modules/uglify-js/lib/compress.js(2098,25): error TS2322: Type 'boolean' is not assignable to type 'number'. +node_modules/uglify-js/lib/compress.js(2102,25): error TS2322: Type 'boolean' is not assignable to type 'never'. +node_modules/uglify-js/lib/compress.js(2103,25): error TS2322: Type 'boolean' is not assignable to type 'never'. +node_modules/uglify-js/lib/compress.js(2344,65): error TS2339: Property 'find_parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(2347,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2526,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2556,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2567,37): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2568,25): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2570,25): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2582,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2585,35): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2627,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2661,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2676,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2696,35): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2808,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2829,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2872,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2881,75): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(3039,53): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. Source provides no match for required element at position 0 in target. -node_modules/uglify-js/lib/compress.js(3075,76): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(3292,60): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. Type 'any' is not assignable to type 'never'. -node_modules/uglify-js/lib/compress.js(3200,59): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3238,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. +node_modules/uglify-js/lib/compress.js(3417,59): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3455,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. Source provides no match for required element at position 0 in target. -node_modules/uglify-js/lib/compress.js(3273,26): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'number', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(3501,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3522,27): error TS2339: Property 'required' does not exist on type 'any[]'. -node_modules/uglify-js/lib/compress.js(3527,43): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(3566,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3570,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(3617,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3621,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(3682,22): error TS2339: Property 'is_undefined' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3684,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3685,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3686,28): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3690,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3743,22): error TS2551: Property 'is_undefined' does not exist on type '(Anonymous function)'. Did you mean 'is_defined'? -node_modules/uglify-js/lib/compress.js(3744,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3745,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3746,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3750,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(3792,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3796,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(3882,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3886,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(3934,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3938,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(4204,44): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4443,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. -node_modules/uglify-js/lib/compress.js(4444,25): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(4444,55): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. -node_modules/uglify-js/lib/compress.js(4444,56): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(4461,48): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4472,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4480,24): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(4586,54): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4605,40): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(4669,22): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4670,50): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4671,17): error TS2630: Cannot assign to 'decode' because it is a function. -node_modules/uglify-js/lib/compress.js(4675,39): error TS2339: Property 'expressions' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4678,35): error TS2339: Property 'strings' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4680,47): error TS2339: Property 'strings' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5116,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5136,29): error TS2322: Type 'string' is not assignable to type 'boolean'. -node_modules/uglify-js/lib/compress.js(5340,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5346,49): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5398,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(5426,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(5489,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'marker' must be of type 'TreeWalker', but here has type '(node: any) => void'. -node_modules/uglify-js/lib/compress.js(5489,61): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(5494,50): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5587,105): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(5737,56): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(5738,54): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(5863,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5864,74): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(5883,28): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(5908,28): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(5970,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6071,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(6151,58): error TS2339: Property 'has_directive' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(6378,56): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(6455,80): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(6507,61): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(6510,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(6844,18): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(6844,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6868,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(6877,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(6883,33): error TS2339: Property 'find_variable' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(6905,14): error TS2339: Property 'transform' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(6909,50): error TS2339: Property 'each_argname' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(6975,32): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7064,18): error TS2339: Property 'enclosed' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7067,18): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7270,29): error TS2339: Property 'left' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7279,30): error TS2339: Property 'right' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7280,30): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7496,23): error TS2454: Variable 'exprs' is used before being assigned. -node_modules/uglify-js/lib/compress.js(7497,20): error TS2454: Variable 'exprs' is used before being assigned. -node_modules/uglify-js/lib/compress.js(7577,28): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7578,41): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7582,22): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7587,42): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7618,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7620,44): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(7624,56): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(7625,12): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(7693,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7749,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(7764,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(7890,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7892,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(8059,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(8258,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(8264,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(8307,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(8598,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[pattern: string | RegExp, flags?: string | undefined]'. +node_modules/uglify-js/lib/compress.js(3490,26): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'number', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(3722,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3749,27): error TS2339: Property 'required' does not exist on type 'any[]'. +node_modules/uglify-js/lib/compress.js(3754,43): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(3793,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3797,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(3844,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3848,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(3913,22): error TS2339: Property 'is_undefined' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3915,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3916,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3917,28): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3921,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3974,22): error TS2551: Property 'is_undefined' does not exist on type '(Anonymous function)'. Did you mean 'is_defined'? +node_modules/uglify-js/lib/compress.js(3975,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3976,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3977,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3981,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4023,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4027,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4113,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4117,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4165,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4169,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4444,44): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4684,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. +node_modules/uglify-js/lib/compress.js(4685,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(4685,55): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. +node_modules/uglify-js/lib/compress.js(4685,56): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(4702,48): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4713,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4721,24): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4827,54): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4846,40): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(4910,22): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4911,50): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4912,17): error TS2630: Cannot assign to 'decode' because it is a function. +node_modules/uglify-js/lib/compress.js(4916,39): error TS2339: Property 'expressions' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4919,35): error TS2339: Property 'strings' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4921,47): error TS2339: Property 'strings' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5275,26): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5276,22): error TS2339: Property 'is_expr_pure' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5278,43): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5279,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(5339,26): error TS2339: Property 'expressions' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5340,22): error TS2339: Property 'is_expr_pure' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5341,23): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5343,43): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5344,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(5393,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5413,29): error TS2322: Type 'string' is not assignable to type 'boolean'. +node_modules/uglify-js/lib/compress.js(5617,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5623,49): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5675,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(5706,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(5769,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'marker' must be of type 'TreeWalker', but here has type '(node: any) => void'. +node_modules/uglify-js/lib/compress.js(5769,61): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(5774,50): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5879,105): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6038,56): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(6039,54): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(6164,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6165,74): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6184,28): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6209,28): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6283,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6295,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6384,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(6397,35): error TS2339: Property 'assign' does not exist on type 'any[]'. +node_modules/uglify-js/lib/compress.js(6398,48): error TS2339: Property 'assign' does not exist on type 'any[]'. +node_modules/uglify-js/lib/compress.js(6467,60): error TS2339: Property 'has_directive' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(6708,56): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(6748,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'trimmed' must be of type 'any', but here has type '{ name: any; value: any; }'. +node_modules/uglify-js/lib/compress.js(6789,80): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(6845,61): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(6848,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(6975,36): error TS2339: Property 'assign' does not exist on type 'any[]'. +node_modules/uglify-js/lib/compress.js(7327,18): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7327,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7351,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(7360,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(7366,33): error TS2339: Property 'find_variable' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7388,14): error TS2339: Property 'transform' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7392,50): error TS2339: Property 'each_argname' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7458,32): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7547,18): error TS2339: Property 'enclosed' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7548,17): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(7550,18): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7551,17): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(7740,29): error TS2339: Property 'left' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7747,30): error TS2339: Property 'right' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7748,31): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7864,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7866,28): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(8032,23): error TS2454: Variable 'exprs' is used before being assigned. +node_modules/uglify-js/lib/compress.js(8033,20): error TS2454: Variable 'exprs' is used before being assigned. +node_modules/uglify-js/lib/compress.js(8139,28): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8140,41): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8144,22): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8149,42): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8180,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(8182,44): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(8186,56): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(8187,12): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(8255,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(8311,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(8326,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(8437,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(8439,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(8672,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(8903,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(8909,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(8952,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(9275,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[pattern: string | RegExp, flags?: string | undefined]'. Target requires 1 element(s) but source may have fewer. -node_modules/uglify-js/lib/compress.js(8775,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(8782,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; toString: () => string; indent: (half: any) => void; should_break: () => void; has_parens: () => boolean; newline: () => void; print: (str: any) => void; space: () => void; comma: () => void; colon: () => void; ... 20 more ...; parent: (n: any) => any; }'. -node_modules/uglify-js/lib/compress.js(8786,36): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(8791,41): error TS2339: Property 'get' does not exist on type 'string'. -node_modules/uglify-js/lib/compress.js(8924,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(9018,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(9092,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(9096,21): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(9104,25): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(9113,25): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(9129,32): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(9133,27): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(9355,34): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(9356,40): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(9357,40): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(9374,41): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. -node_modules/uglify-js/lib/compress.js(9431,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(9778,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. -node_modules/uglify-js/lib/compress.js(9963,48): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(9964,21): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(9967,32): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(9976,32): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(9994,29): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(10004,22): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(10298,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(10485,47): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(10574,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(10687,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(10693,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(10696,41): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(11313,26): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter. -node_modules/uglify-js/lib/compress.js(11313,67): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(11346,43): error TS2454: Variable 'property' is used before being assigned. -node_modules/uglify-js/lib/compress.js(11367,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(11370,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. -node_modules/uglify-js/lib/compress.js(11375,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. -node_modules/uglify-js/lib/compress.js(11421,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(11436,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/minify.js(193,57): error TS2339: Property 'compress' does not exist on type 'Compressor'. -node_modules/uglify-js/lib/mozilla-ast.js(573,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/output.js(482,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/output.js(483,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/output.js(498,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/output.js(1394,44): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/output.js(1839,58): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. +node_modules/uglify-js/lib/compress.js(9452,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(9459,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => any; reset: () => any; indent: (half: any) => void; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; space: () => void; comma: () => void; colon: () => void; ... 16 more ...; parent: (n: any) => any; }'. +node_modules/uglify-js/lib/compress.js(9463,36): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(9468,41): error TS2339: Property 'get' does not exist on type 'string'. +node_modules/uglify-js/lib/compress.js(9599,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(9697,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(9769,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(9773,21): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(9781,25): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(9790,25): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(9806,32): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(9810,27): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(10033,34): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(10034,40): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(10035,40): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(10052,41): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. +node_modules/uglify-js/lib/compress.js(10110,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(10489,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. +node_modules/uglify-js/lib/compress.js(10684,60): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(10685,21): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(10688,32): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(10697,32): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(10715,29): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(10725,22): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(11019,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(11203,47): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(11295,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(11410,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(11416,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(11420,45): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(12081,26): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter. +node_modules/uglify-js/lib/compress.js(12082,36): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(12083,32): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(12118,43): error TS2454: Variable 'property' is used before being assigned. +node_modules/uglify-js/lib/compress.js(12139,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(12142,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. +node_modules/uglify-js/lib/compress.js(12147,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. +node_modules/uglify-js/lib/compress.js(12189,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(12204,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/minify.js(195,57): error TS2339: Property 'compress' does not exist on type 'Compressor'. +node_modules/uglify-js/lib/mozilla-ast.js(384,53): error TS2304: Cannot find name 'syn'. +node_modules/uglify-js/lib/mozilla-ast.js(1205,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/output.js(509,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/output.js(510,53): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/output.js(514,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/output.js(1433,44): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/output.js(1882,58): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. node_modules/uglify-js/lib/parse.js(319,9): error TS2322: Type 'string | boolean' is not assignable to type 'boolean'. Type 'string' is not assignable to type 'boolean'. -node_modules/uglify-js/lib/parse.js(385,19): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'. +node_modules/uglify-js/lib/parse.js(388,19): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'. Type 'undefined' is not assignable to type 'number'. -node_modules/uglify-js/lib/parse.js(451,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. -node_modules/uglify-js/lib/parse.js(462,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. -node_modules/uglify-js/lib/parse.js(512,20): error TS2339: Property 'raw_source' does not exist on type 'RegExp'. -node_modules/uglify-js/lib/parse.js(630,57): error TS2339: Property 'push' does not exist on type 'never'. -node_modules/uglify-js/lib/parse.js(636,32): error TS2345: Argument of type 'never[]' is not assignable to parameter of type 'never'. -node_modules/uglify-js/lib/parse.js(734,13): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(767,69): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(767,83): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(811,31): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(817,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(840,21): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(870,21): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(890,21): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1020,23): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. -node_modules/uglify-js/lib/parse.js(1099,56): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1115,52): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1155,58): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1343,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'. -node_modules/uglify-js/lib/parse.js(1389,26): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(1389,62): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(1394,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'. -node_modules/uglify-js/lib/parse.js(1400,28): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(1419,51): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1429,25): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1454,34): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1518,43): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1537,43): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1581,35): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1647,17): error TS2454: Variable 'cur' is used before being assigned. -node_modules/uglify-js/lib/parse.js(1844,38): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1913,32): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1937,19): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(1938,23): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(1938,71): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(2100,20): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2156,32): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(2317,60): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2336,48): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2362,35): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2465,52): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2488,23): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(2496,44): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(454,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. +node_modules/uglify-js/lib/parse.js(465,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. +node_modules/uglify-js/lib/parse.js(515,20): error TS2339: Property 'raw_source' does not exist on type 'RegExp'. +node_modules/uglify-js/lib/parse.js(518,25): error TS2571: Object is of type 'unknown'. +node_modules/uglify-js/lib/parse.js(633,57): error TS2339: Property 'push' does not exist on type 'never'. +node_modules/uglify-js/lib/parse.js(639,32): error TS2345: Argument of type 'never[]' is not assignable to parameter of type 'never'. +node_modules/uglify-js/lib/parse.js(644,22): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/parse.js(645,26): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/parse.js(737,13): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(770,69): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(770,83): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(814,31): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(820,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(843,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(874,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(894,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1024,23): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. +node_modules/uglify-js/lib/parse.js(1103,56): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1119,52): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1159,58): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1346,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'. +node_modules/uglify-js/lib/parse.js(1395,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'. +node_modules/uglify-js/lib/parse.js(1401,28): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(1425,51): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1435,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1445,23): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1446,24): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1460,34): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1463,34): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1476,32): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1478,27): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1479,28): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1525,43): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1544,43): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1588,35): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1610,19): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1612,20): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1654,17): error TS2454: Variable 'cur' is used before being assigned. +node_modules/uglify-js/lib/parse.js(1771,41): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1772,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1785,59): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1819,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1832,27): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1833,60): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1834,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1835,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1836,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1837,33): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1838,35): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1840,39): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1841,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1844,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1848,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1849,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1851,38): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1853,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1854,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1865,36): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1920,32): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1944,19): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(1945,23): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(1945,71): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(2001,26): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2016,26): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2046,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2086,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2088,27): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2095,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2107,20): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2163,32): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(2203,26): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2332,60): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2342,44): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2351,48): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2377,35): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2480,52): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2503,23): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(2511,44): error TS2339: Property 'rest' does not exist on type 'any[]'. node_modules/uglify-js/lib/propmangle.js(70,18): error TS2339: Property 'prototype' does not exist on type 'ObjectConstructor | FunctionConstructor | StringConstructor | BooleanConstructor | NumberConstructor | ... 4 more ... | ArrayConstructor'. Property 'prototype' does not exist on type 'Math'. node_modules/uglify-js/lib/propmangle.js(71,44): error TS2351: This expression is not constructable. @@ -270,38 +327,46 @@ node_modules/uglify-js/lib/propmangle.js(71,44): error TS2351: This expression i node_modules/uglify-js/lib/propmangle.js(72,45): error TS2339: Property 'prototype' does not exist on type 'ObjectConstructor | FunctionConstructor | StringConstructor | BooleanConstructor | NumberConstructor | ... 4 more ... | ArrayConstructor'. Property 'prototype' does not exist on type 'Math'. node_modules/uglify-js/lib/propmangle.js(83,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/propmangle.js(146,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/propmangle.js(176,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(83,26): error TS2339: Property 'defun' does not exist on type 'SymbolDef'. -node_modules/uglify-js/lib/scope.js(129,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(132,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(145,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(152,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(205,51): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(247,10): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(252,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(289,62): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(311,28): error TS2339: Property 'def_global' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(313,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(324,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(333,26): error TS2339: Property 'uses_eval' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(348,10): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(351,27): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(351,47): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(403,38): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(451,10): error TS2339: Property 'def_variable' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(453,21): error TS2339: Property 'start' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(454,19): error TS2339: Property 'end' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(602,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(634,49): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(693,31): error TS2345: Argument of type 'string' is not assignable to parameter of type 'object | null'. -node_modules/uglify-js/lib/scope.js(696,30): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(720,30): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/propmangle.js(148,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/propmangle.js(180,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(84,26): error TS2339: Property 'defun' does not exist on type 'SymbolDef'. +node_modules/uglify-js/lib/scope.js(130,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(133,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(146,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(153,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(181,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(182,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(183,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(184,26): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(200,13): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(202,23): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(206,51): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(216,23): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(248,10): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(253,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(292,62): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(314,28): error TS2339: Property 'def_global' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(316,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(327,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(336,26): error TS2339: Property 'uses_eval' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(351,10): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(354,26): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(354,46): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(400,38): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(455,10): error TS2339: Property 'def_variable' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(457,21): error TS2339: Property 'start' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(458,19): error TS2339: Property 'end' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(606,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(638,49): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(697,31): error TS2345: Argument of type 'string' is not assignable to parameter of type 'object | null'. +node_modules/uglify-js/lib/scope.js(700,30): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(724,30): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/sourcemap.js(82,11): error TS2339: Property 'index' does not exist on type 'any[]'. node_modules/uglify-js/lib/sourcemap.js(180,31): error TS2339: Property 'index' does not exist on type 'any[]'. node_modules/uglify-js/lib/sourcemap.js(188,34): error TS2339: Property 'index' does not exist on type 'any[]'. node_modules/uglify-js/lib/transform.js(47,21): error TS2345: Argument of type 'this' is not assignable to parameter of type 'TreeWalker'. Type 'TreeTransformer' is missing the following properties from type 'TreeWalker': currentNode, filter, root, whatToShow, and 10 more. +node_modules/uglify-js/lib/utils.js(74,24): error TS2571: Object is of type 'unknown'. node_modules/uglify-js/tools/exports.js(1,1): error TS2303: Circular definition of import alias '"Dictionary"'. node_modules/uglify-js/tools/exports.js(2,1): error TS2303: Circular definition of import alias '"is_statement"'. node_modules/uglify-js/tools/exports.js(3,1): error TS2303: Circular definition of import alias '"List"'. diff --git a/tests/baselines/reference/user/webpack.log b/tests/baselines/reference/user/webpack.log new file mode 100644 index 0000000000000..b89461e66d8c5 --- /dev/null +++ b/tests/baselines/reference/user/webpack.log @@ -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(111,43): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'. +lib/cache/IdleFileCachePlugin.js(119,25): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'. +lib/cache/PackFileCacheStrategy.js(1126,46): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'. +lib/cache/PackFileCacheStrategy.js(1159,11): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'. +lib/cache/PackFileCacheStrategy.js(1192,13): error TS2345: Argument of type 'string' is not assignable to parameter of type 'string[]'. +lib/cache/PackFileCacheStrategy.js(1234,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: From 004b1a3106f31606bd5b8807cfa69c8c57161a62 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Wed, 4 Aug 2021 13:07:01 +0000 Subject: [PATCH 2/2] Update user baselines --- .../baselines/reference/docker/azure-sdk.log | 8 ++- tests/baselines/reference/docker/prettier.log | 6 +- tests/baselines/reference/docker/xterm.js.log | 6 -- tests/baselines/reference/user/acorn.log | 1 + .../reference/user/adonis-framework.log | 1 + tests/baselines/reference/user/assert.log | 1 + tests/baselines/reference/user/async.log | 1 + tests/baselines/reference/user/axios-src.log | 1 + tests/baselines/reference/user/bcryptjs.log | 1 + tests/baselines/reference/user/bluebird.log | 1 + .../user/chrome-devtools-frontend.log | 62 +++++++++---------- .../reference/user/clear-require.log | 7 +++ tests/baselines/reference/user/clone.log | 1 + .../reference/user/content-disposition.log | 7 +++ tests/baselines/reference/user/debug.log | 1 + .../reference/user/enhanced-resolve.log | 1 + .../reference/user/follow-redirects.log | 1 + .../baselines/reference/user/graceful-fs.log | 1 + tests/baselines/reference/user/jimp.log | 7 +++ tests/baselines/reference/user/lodash.log | 1 + tests/baselines/reference/user/minimatch.log | 1 + tests/baselines/reference/user/mqtt.log | 1 + tests/baselines/reference/user/npmlog.log | 1 + .../baselines/reference/user/octokit-rest.log | 7 +++ tests/baselines/reference/user/soap.log | 1 + .../baselines/reference/user/ts-toolbelt.log | 1 + tests/baselines/reference/user/tslint.log | 7 +++ tests/baselines/reference/user/uglify-js.log | 1 + .../reference/user/url-search-params.log | 1 + tests/baselines/reference/user/util.log | 1 + tests/baselines/reference/user/webpack.log | 1 + tests/baselines/reference/user/zone.js.log | 7 +++ 32 files changed, 103 insertions(+), 43 deletions(-) create mode 100644 tests/baselines/reference/user/clear-require.log create mode 100644 tests/baselines/reference/user/content-disposition.log create mode 100644 tests/baselines/reference/user/jimp.log create mode 100644 tests/baselines/reference/user/octokit-rest.log create mode 100644 tests/baselines/reference/user/tslint.log create mode 100644 tests/baselines/reference/user/zone.js.log diff --git a/tests/baselines/reference/docker/azure-sdk.log b/tests/baselines/reference/docker/azure-sdk.log index 9e965a0b0c7a4..d478d4c22b3d6 100644 --- a/tests/baselines/reference/docker/azure-sdk.log +++ b/tests/baselines/reference/docker/azure-sdk.log @@ -5,7 +5,7 @@ Rush Multi-Project Build Tool 5.X.X - https://rushjs.io Node.js version is 16.6.1 (pre-LTS) Starting "rush rebuild" Executing a maximum of ?simultaneous processes... -==[ @azure/dev-tool ]============================================[ 1 of 106 ]== +==[ @azure/dev-tool ]============================================[ 1 of 107 ]== "@azure-rest/agrifood-farming" is blocked by "@azure/dev-tool". "@azure-rest/ai-document-translator" is blocked by "@azure/dev-tool". "@azure-rest/confidential-ledger" is blocked by "@azure/dev-tool". @@ -21,6 +21,7 @@ Executing a maximum of ?simultaneous processes... "@azure/arm-network" is blocked by "@azure/dev-tool". "@azure/arm-resources" is blocked by "@azure/dev-tool". "@azure/arm-storage" is blocked by "@azure/dev-tool". +"@azure/arm-webpubsub" is blocked by "@azure/dev-tool". "@azure/communication-chat" is blocked by "@azure/dev-tool". "@azure/communication-common" is blocked by "@azure/dev-tool". "@azure/communication-identity" is blocked by "@azure/dev-tool". @@ -109,9 +110,9 @@ Executing a maximum of ?simultaneous processes... "@azure/core-xml" is blocked by "@azure/dev-tool". "@azure/event-processor-host" is blocked by "@azure/dev-tool". "@azure/logger" is blocked by "@azure/dev-tool". -==[ @azure/eslint-plugin-azure-sdk ]===========================[ 105 of 106 ]== +==[ @azure/eslint-plugin-azure-sdk ]===========================[ 106 of 107 ]== "@azure/core-asynciterator-polyfill" is blocked by "@azure/eslint-plugin-azure-sdk". -==[ BLOCKED: 104 projects ]==================================================== +==[ BLOCKED: 105 projects ]==================================================== These projects were blocked by dependencies that failed: @azure-rest/agrifood-farming @azure-rest/ai-document-translator @@ -150,6 +151,7 @@ These projects were blocked by dependencies that failed: @azure/arm-policy @azure/arm-resources @azure/arm-storage + @azure/arm-webpubsub @azure/attestation @azure/communication-chat @azure/communication-common diff --git a/tests/baselines/reference/docker/prettier.log b/tests/baselines/reference/docker/prettier.log index 957a84937824b..17f554d692b18 100644 --- a/tests/baselines/reference/docker/prettier.log +++ b/tests/baselines/reference/docker/prettier.log @@ -17,9 +17,9 @@ parser-typescript.js...........info Visit https://yarnpkg.com/en/docs/cli/run fo Standard error: <--- Last few GCs ---> -[18:0x48d8430] ?s: Scavenge 3020.8 (3087.4) -> 3016.6 (3088.4) MB, 11.8 / ?s (average mu = 0.425, current mu = 0.383) allocation failure -[18:0x48d8430] ?s: Scavenge 3033.1 (3099.7) -> 3029.6 (3099.7) MB, 14.3 / ?s (average mu = 0.425, current mu = 0.383) allocation failure -[18:0x48d8430] ?s: Scavenge 3037.5 (3104.2) -> 3036.8 (3124.0) MB, 1101.2 / ?s (average mu = 0.425, current mu = 0.383) allocation failure +[18:0x5efc430] ?s: Scavenge 3019.9 (3087.4) -> 3015.6 (3088.4) MB, 8.9 / ?s (average mu = 0.410, current mu = 0.365) allocation failure +[18:0x5efc430] ?s: Scavenge 3030.8 (3098.2) -> 3025.8 (3098.2) MB, 6.1 / ?s (average mu = 0.410, current mu = 0.365) allocation failure +[18:0x5efc430] ?s: Scavenge 3036.4 (3103.9) -> 3035.7 (3122.2) MB, 977.5 / ?s (average mu = 0.410, current mu = 0.365) allocation failure <--- JS stacktrace ---> FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 1: 0xafedf0 node::Abort() [/usr/local/bin/node] diff --git a/tests/baselines/reference/docker/xterm.js.log b/tests/baselines/reference/docker/xterm.js.log index 34be2594f9a0b..9630797c844e9 100644 --- a/tests/baselines/reference/docker/xterm.js.log +++ b/tests/baselines/reference/docker/xterm.js.log @@ -19,12 +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'. -addons/xterm-addon-webgl/src/GlyphRenderer.ts(306,26): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. -addons/xterm-addon-webgl/src/GlyphRenderer.ts(306,43): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. -addons/xterm-addon-webgl/src/GlyphRenderer.ts(376,47): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. -addons/xterm-addon-webgl/src/GlyphRenderer.ts(376,64): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. -addons/xterm-addon-webgl/src/RectangleRenderer.ts(134,47): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. -addons/xterm-addon-webgl/src/RectangleRenderer.ts(134,64): error TS2339: Property 'canvas' does not exist on type 'IWebGL2RenderingContext'. diff --git a/tests/baselines/reference/user/acorn.log b/tests/baselines/reference/user/acorn.log index 21353d1941d36..feb1b5802b98b 100644 --- a/tests/baselines/reference/user/acorn.log +++ b/tests/baselines/reference/user/acorn.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/acorn/acorn-loose/dist/acorn-loose.js(3,10): error TS2304: Cannot find name 'define'. node_modules/acorn/acorn-loose/dist/acorn-loose.js(3,35): error TS2304: Cannot find name 'define'. node_modules/acorn/acorn-loose/dist/acorn-loose.js(3,48): error TS2304: Cannot find name 'define'. diff --git a/tests/baselines/reference/user/adonis-framework.log b/tests/baselines/reference/user/adonis-framework.log index 642d2495dce3d..be0a3aa3ba3b9 100644 --- a/tests/baselines/reference/user/adonis-framework.log +++ b/tests/baselines/reference/user/adonis-framework.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/adonis-framework/lib/util.js(24,13): error TS2304: Cannot find name 'Mixed'. node_modules/adonis-framework/providers/ConfigProvider.js(9,33): error TS2307: Cannot find module 'adonis-fold' or its corresponding type declarations. node_modules/adonis-framework/providers/ConfigProvider.js(14,10): error TS2339: Property 'app' does not exist on type 'ConfigProvider'. diff --git a/tests/baselines/reference/user/assert.log b/tests/baselines/reference/user/assert.log index a0bcc0698fb7b..ebe47b8d3b9a9 100644 --- a/tests/baselines/reference/user/assert.log +++ b/tests/baselines/reference/user/assert.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. 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. diff --git a/tests/baselines/reference/user/async.log b/tests/baselines/reference/user/async.log index a8027ebcd7170..e9c7bd28f3162 100644 --- a/tests/baselines/reference/user/async.log +++ b/tests/baselines/reference/user/async.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/async/all.js(32,12): error TS2304: Cannot find name 'AsyncFunction'. node_modules/async/all.js(49,20): error TS2695: Left side of comma operator is unused and has no side effects. node_modules/async/all.js(49,46): error TS2695: Left side of comma operator is unused and has no side effects. diff --git a/tests/baselines/reference/user/axios-src.log b/tests/baselines/reference/user/axios-src.log index 2f52092ee240f..1d84add58b822 100644 --- a/tests/baselines/reference/user/axios-src.log +++ b/tests/baselines/reference/user/axios-src.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +../../../../../node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. lib/adapters/http.js(13,19): error TS2732: Cannot find module './../../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. lib/adapters/http.js(22,12): error TS2304: Cannot find name 'AxiosProxyConfig'. lib/adapters/http.js(34,5): error TS2532: Object is possibly 'undefined'. diff --git a/tests/baselines/reference/user/bcryptjs.log b/tests/baselines/reference/user/bcryptjs.log index 9f9c929d985c2..d19d5729579e3 100644 --- a/tests/baselines/reference/user/bcryptjs.log +++ b/tests/baselines/reference/user/bcryptjs.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/bcryptjs/scripts/build.js(1,26): error TS2307: Cannot find module 'metascript' or its corresponding type declarations. node_modules/bcryptjs/scripts/build.js(32,1): error TS2741: Property 'ISAAC' is missing in type '{ VERSION: any; }' but required in type '{ VERSION: any; ISAAC: boolean; }'. node_modules/bcryptjs/src/bcrypt.js(25,13): error TS2740: Type 'Buffer' is missing the following properties from type 'number[]': pop, push, concat, shift, and 5 more. diff --git a/tests/baselines/reference/user/bluebird.log b/tests/baselines/reference/user/bluebird.log index b67cfc9bb7445..bcebb80d47120 100644 --- a/tests/baselines/reference/user/bluebird.log +++ b/tests/baselines/reference/user/bluebird.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/bluebird/js/release/assert.js(11,30): error TS2339: Property 'constructor$' does not exist on type 'Error'. node_modules/bluebird/js/release/bluebird.js(5,15): error TS2367: This condition will always return 'false' since the types 'PromiseConstructor' and 'typeof Promise' have no overlap. node_modules/bluebird/js/release/bluebird.js(10,10): error TS2339: Property 'noConflict' does not exist on type 'typeof Promise'. diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index 3a208eb78a26b..2613a6cbf06b1 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -10,7 +10,7 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(270,9): error TS2322: Type 'void' is not assignable to type 'undefined'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(280,5): error TS2322: Type 'Promise' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(525,9): error TS2322: Type 'Window' is not assignable to type 'Window & typeof globalThis'. - Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 757 more. + Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 753 more. node_modules/chrome-devtools-frontend/front_end/Runtime.js(527,55): error TS2352: Conversion of type 'Window & typeof globalThis' to type 'new () => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'Window & typeof globalThis' provides no match for the signature 'new (): any'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(539,24): error TS2351: This expression is not constructable. @@ -21,7 +21,7 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(705,5): error TS2322: node_modules/chrome-devtools-frontend/front_end/Runtime.js(715,7): error TS2322: Type 'Promise' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(729,7): error TS2322: Type 'Promise' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(746,5): error TS2322: Type 'Window | {}' is not assignable to type 'Window'. - Type '{}' is missing the following properties from type 'Window': HTMLDocument, closed, customElements, devicePixelRatio, and 189 more. + Type '{}' is missing the following properties from type 'Window': HTMLDocument, clientInformation, closed, customElements, and 190 more. node_modules/chrome-devtools-frontend/front_end/Runtime.js(1083,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/Runtime.js(1088,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/Tests.js(203,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -142,8 +142,8 @@ node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(391,50): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(393,50): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(396,27): error TS2339: Property 'focus' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(447,26): error TS2339: Property 'breadcrumb' does not exist on type 'ChildNode & Node'. -node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(457,30): error TS2339: Property 'breadcrumb' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(447,26): error TS2339: Property 'breadcrumb' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(457,30): error TS2339: Property 'breadcrumb' does not exist on type 'ChildNode'. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(473,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(481,17): error TS2339: Property 'setTextContentTruncatedIfNeeded' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/accessibility/AXBreadcrumbsPane.js(488,40): error TS2345: Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string | string[]'. @@ -4737,9 +4737,9 @@ node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(51 node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(578,54): error TS2339: Property '_pageLoadSequenceNumber' does not exist on type 'ConsoleMessage'. node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(615,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(616,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(44,61): error TS2339: Property 'traverseNextNode' does not exist on type 'ChildNode & Node'. -node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(45,57): error TS2339: Property 'className' does not exist on type 'ChildNode & Node'. -node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(46,32): error TS2339: Property 'className' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(44,61): error TS2339: Property 'traverseNextNode' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(45,57): error TS2339: Property 'className' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(46,32): error TS2339: Property 'className' does not exist on type 'ChildNode'. node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(73,36): error TS2339: Property 'deepTextContent' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(144,20): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(145,20): error TS2339: Property 'style' does not exist on type 'Element'. @@ -5240,7 +5240,7 @@ node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(731,78): node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(732,21): error TS2339: Property 'value' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(745,44): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(757,30): error TS2339: Property 'remove' does not exist on type 'Map'. -node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(776,15): error TS2339: Property 'classList' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(776,15): error TS2339: Property 'classList' does not exist on type 'ChildNode'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(788,28): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(797,23): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(826,21): error TS2339: Property 'title' does not exist on type 'Element'. @@ -5397,7 +5397,7 @@ node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(22 node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(234,16): error TS2339: Property 'parentElementOrShadowHost' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(235,61): error TS2339: Property 'host' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(236,42): error TS2339: Property 'host' does not exist on type 'Node'. -node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(243,42): error TS2339: Property 'host' does not exist on type 'Node & ParentNode'. +node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(243,42): error TS2339: Property 'host' does not exist on type 'ParentNode'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(250,16): error TS2339: Property 'parentNodeOrShadowHost' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(253,61): error TS2339: Property 'host' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(254,17): error TS2339: Property 'host' does not exist on type 'Node'. @@ -5499,7 +5499,7 @@ node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(74 node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(745,48): error TS2339: Property 'pageX' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(745,60): error TS2339: Property 'pageY' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(753,20): error TS2339: Property 'deepElementFromPoint' does not exist on type 'Document'. -node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(761,5): error TS2740: Type 'ShadowRoot' is missing the following properties from type 'Document': URL, alinkColor, all, anchors, and 177 more. +node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(761,5): error TS2740: Type 'ShadowRoot' is missing the following properties from type 'Document': URL, alinkColor, all, anchors, and 179 more. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(766,28): error TS2339: Property 'deepElementFromPoint' does not exist on type 'DocumentFragment'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(766,70): error TS2339: Property 'deepElementFromPoint' does not exist on type 'Document'. node_modules/chrome-devtools-frontend/front_end/dom_extension/DOMExtension.js(771,20): error TS2339: Property 'deepActiveElement' does not exist on type 'Document'. @@ -5701,7 +5701,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js( node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(575,10): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(576,10): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(580,10): error TS2339: Property 'scrollIntoViewIfNeeded' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(592,20): error TS2339: Property 'classList' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(592,20): error TS2339: Property 'classList' does not exist on type 'ChildNode'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(600,41): error TS2339: Property 'isAncestor' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(655,26): error TS2339: Property 'getComponentSelection' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(673,37): error TS2339: Property 'enclosingNodeOrSelfWithClass' does not exist on type 'Element'. @@ -5709,7 +5709,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js( node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(733,26): error TS2339: Property 'getComponentSelection' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(738,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(739,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(762,13): error TS2339: Property 'style' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(762,13): error TS2339: Property 'style' does not exist on type 'ChildNode'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(767,32): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(779,41): error TS2345: Argument of type '{ lineNumbers: false; lineWrapping: any; mimeType: string; autoHeight: false; padBottom: false; }' is not assignable to parameter of type 'Options'. Type '{ lineNumbers: false; lineWrapping: any; mimeType: string; autoHeight: false; padBottom: false; }' is missing the following properties from type 'Options': bracketMatchingSetting, maxHighlightLength, placeholder @@ -5723,7 +5723,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js( node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(819,21): error TS2339: Property 'editor' does not exist on type 'Controller'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(820,21): error TS2339: Property 'editor' does not exist on type 'Controller'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(828,34): error TS2339: Property 'style' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(832,15): error TS2339: Property 'style' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(832,15): error TS2339: Property 'style' does not exist on type 'ChildNode'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(837,26): error TS2339: Property 'setMultilineEditing' does not exist on type 'TreeOutline'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(851,18): error TS2339: Property 'altKey' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(851,35): error TS2339: Property 'shiftKey' does not exist on type 'Event'. @@ -5801,11 +5801,11 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js( node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(755,33): error TS2339: Property 'enclosingNodeOrSelfWithClass' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(758,36): error TS2339: Property 'enclosingNodeOrSelfWithClass' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(813,22): error TS2339: Property 'index' does not exist on type 'DOMNode'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(920,9): error TS2740: Type 'Node & ParentNode' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 101 more. +node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(920,9): error TS2740: Type 'ParentNode' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 101 more. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(930,13): error TS2339: Property 'type' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1106,44): error TS2339: Property 'keysArray' does not exist on type 'Map'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1110,89): error TS2339: Property 'scrollTop' does not exist on type 'Node & ParentNode'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1130,37): error TS2339: Property 'scrollTop' does not exist on type 'Node & ParentNode'. +node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1110,89): error TS2339: Property 'scrollTop' does not exist on type 'ParentNode'. +node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1130,37): error TS2339: Property 'scrollTop' does not exist on type 'ParentNode'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1258,12): error TS2339: Property 'value' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1261,28): error TS2339: Property 'expandAllButton' does not exist on type 'TreeElement'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1262,28): error TS2339: Property 'button' does not exist on type 'TreeElement'. @@ -5957,14 +5957,14 @@ node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(96 node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(973,24): error TS2339: Property 'tabIndex' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1022,35): error TS2339: Property 'selectorText' does not exist on type 'CSSRule'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1040,69): error TS2339: Property 'selectorText' does not exist on type 'CSSRule'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1055,24): error TS2339: Property '_section' does not exist on type 'ChildNode & Node'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1056,29): error TS2339: Property '_section' does not exist on type 'ChildNode & Node'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1073,24): error TS2339: Property '_section' does not exist on type 'ChildNode & Node'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1074,29): error TS2339: Property '_section' does not exist on type 'ChildNode & Node'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1087,7): error TS2740: Type 'ChildNode & Node' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 106 more. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1055,24): error TS2339: Property '_section' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1056,29): error TS2339: Property '_section' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1073,24): error TS2339: Property '_section' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1074,29): error TS2339: Property '_section' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1087,7): error TS2740: Type 'ChildNode' is missing the following properties from type 'Element': attributes, classList, className, clientHeight, and 106 more. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1088,38): error TS2339: Property '_section' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1090,36): error TS2339: Property '_section' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1099,7): error TS2322: Type 'ChildNode & Node' is not assignable to type 'Element'. +node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1099,7): error TS2322: Type 'ChildNode' is not assignable to type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1100,38): error TS2339: Property '_section' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1102,36): error TS2339: Property '_section' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(1232,7): error TS2322: Type 'StylePropertiesSection' is not assignable to type 'this'. @@ -8168,8 +8168,8 @@ node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(189,25): node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(196,23): error TS2339: Property '_labelElement' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(199,15): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(200,23): error TS2339: Property 'style' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(210,7): error TS2322: Type 'ChildNode & Node' is not assignable to type 'Element'. -node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(215,7): error TS2322: Type 'ChildNode & Node' is not assignable to type 'Element'. +node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(210,7): error TS2322: Type 'ChildNode' is not assignable to type 'Element'. +node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(215,7): error TS2322: Type 'ChildNode' is not assignable to type 'Element'. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(277,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(284,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineGrid.js(288,16): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. @@ -10971,7 +10971,7 @@ node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSid node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(53,28): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. 'K' could be instantiated with an arbitrary type which could be unrelated to 'string'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(66,35): error TS2339: Property 'createChild' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(73,36): error TS2339: Property 'createChild' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(73,36): error TS2339: Property 'createChild' does not exist on type 'ChildNode'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(78,37): error TS2339: Property 'uiLocation' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(80,71): error TS2339: Property 'uiLocation' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(81,60): error TS2339: Property 'breakpoint' does not exist on type 'V'. @@ -10987,7 +10987,7 @@ node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptCompilerPlugin node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptCompilerPlugin.js(116,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'JavaScriptCompilerPlugin' does not extend another class. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptCompilerPlugin.js(123,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'JavaScriptCompilerPlugin' does not extend another class. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(60,50): error TS2345: Argument of type 'Event' is not assignable to parameter of type 'MouseEvent | KeyboardEvent'. - Type 'Event' is missing the following properties from type 'KeyboardEvent': altKey, charCode, code, ctrlKey, and 16 more. + Type 'Event' is missing the following properties from type 'KeyboardEvent': altKey, charCode, code, ctrlKey, and 17 more. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(107,33): error TS2339: Property 'asParsedURL' does not exist on type 'string'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(134,95): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(140,44): error TS2339: Property 'createTextChild' does not exist on type 'Element'. @@ -11588,8 +11588,8 @@ node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1203,1 node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1279,81): error TS2345: Argument of type 'Function' is not assignable to parameter of type '(value: any) => any'. Type 'Function' provides no match for the signature '(value: any): any'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1304,3): error TS2322: Type 'Promise' is not assignable to type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1310,30): error TS2339: Property 'getAttribute' does not exist on type 'ChildNode & Node'. -node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1311,44): error TS2339: Property 'getAttribute' does not exist on type 'ChildNode & Node'. +node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1310,30): error TS2339: Property 'getAttribute' does not exist on type 'ChildNode'. +node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1311,44): error TS2339: Property 'getAttribute' does not exist on type 'ChildNode'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1359,3): error TS4112: This member cannot have an 'override' modifier because its containing class '_TestObserver' does not extend another class. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1380,3): error TS4112: This member cannot have an 'override' modifier because its containing class '_TestObserver' does not extend another class. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(1388,16): error TS2551: Property 'testRunner' does not exist on type 'Window & typeof globalThis'. Did you mean 'TestRunner'? @@ -11888,7 +11888,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataP node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(654,37): error TS2339: Property 'naturalHeight' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(655,39): error TS2339: Property 'naturalWidth' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(660,23): error TS2345: Argument of type 'new (width?: number, height?: number) => HTMLImageElement' is not assignable to parameter of type 'CanvasImageSource'. - Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'OffscreenCanvas': addEventListener, dispatchEvent, removeEventListener + Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'ImageBitmap': height, width, close node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(679,3): error TS4113: This member cannot have an 'override' modifier because it is not declared in the base class 'Object'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(745,3): error TS4113: This member cannot have an 'override' modifier because it is not declared in the base class 'Object'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(862,44): error TS2339: Property 'id' does not exist on type 'Event'. @@ -12037,7 +12037,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1206,4 node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1210,44): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1215,25): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1220,22): error TS2339: Property 'disabled' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1224,29): error TS2339: Property 'classList' does not exist on type 'Node & ParentNode'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1224,29): error TS2339: Property 'classList' does not exist on type 'ParentNode'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1234,22): error TS2339: Property 'focus' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1289,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'LoadTimelineHandler' does not extend another class. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(1307,3): error TS4112: This member cannot have an 'override' modifier because its containing class 'ActionDelegate' does not extend another class. @@ -12869,7 +12869,7 @@ node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(592,35): error node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(601,32): error TS2339: Property 'isAncestor' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(610,54): error TS2339: Property 'isAncestor' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(622,35): error TS2339: Property 'getComponentSelection' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(627,7): error TS2322: Type 'ChildNode & Node' is not assignable to type 'Element'. +node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(627,7): error TS2322: Type 'ChildNode' is not assignable to type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(43,50): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(48,45): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(134,47): error TS2339: Property 'boxInWindow' does not exist on type 'Element'. diff --git a/tests/baselines/reference/user/clear-require.log b/tests/baselines/reference/user/clear-require.log new file mode 100644 index 0000000000000..cf310ba0e319b --- /dev/null +++ b/tests/baselines/reference/user/clear-require.log @@ -0,0 +1,7 @@ +Exit Code: 2 +Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. + + + +Standard error: diff --git a/tests/baselines/reference/user/clone.log b/tests/baselines/reference/user/clone.log index 674dc96044275..ea20f8b030b78 100644 --- a/tests/baselines/reference/user/clone.log +++ b/tests/baselines/reference/user/clone.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/clone/clone.js(167,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'string', but here has type 'number'. node_modules/clone/clone.js(167,23): error TS2365: Operator '<' cannot be applied to types 'string' and 'number'. node_modules/clone/clone.js(167,43): error TS2356: An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type. diff --git a/tests/baselines/reference/user/content-disposition.log b/tests/baselines/reference/user/content-disposition.log new file mode 100644 index 0000000000000..cf310ba0e319b --- /dev/null +++ b/tests/baselines/reference/user/content-disposition.log @@ -0,0 +1,7 @@ +Exit Code: 2 +Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. + + + +Standard error: diff --git a/tests/baselines/reference/user/debug.log b/tests/baselines/reference/user/debug.log index 3745887e8f50f..b927d748b6044 100644 --- a/tests/baselines/reference/user/debug.log +++ b/tests/baselines/reference/user/debug.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/debug/src/browser.js(3,100): error TS2630: Cannot assign to '_typeof' because it is a function. node_modules/debug/src/browser.js(3,165): error TS2630: Cannot assign to '_typeof' because it is a function. node_modules/debug/src/browser.js(34,74): error TS2339: Property 'type' does not exist on type 'Process'. diff --git a/tests/baselines/reference/user/enhanced-resolve.log b/tests/baselines/reference/user/enhanced-resolve.log index d8e4045e80db3..a9f7104d4a866 100644 --- a/tests/baselines/reference/user/enhanced-resolve.log +++ b/tests/baselines/reference/user/enhanced-resolve.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(120,20): error TS2532: Object is possibly 'undefined'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(123,17): error TS2532: Object is possibly 'undefined'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(124,3): error TS2532: Object is possibly 'undefined'. diff --git a/tests/baselines/reference/user/follow-redirects.log b/tests/baselines/reference/user/follow-redirects.log index 9d091134010f3..891a44f072170 100644 --- a/tests/baselines/reference/user/follow-redirects.log +++ b/tests/baselines/reference/user/follow-redirects.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. 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(51,10): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'. diff --git a/tests/baselines/reference/user/graceful-fs.log b/tests/baselines/reference/user/graceful-fs.log index 367c6de8b8622..2147d257698fe 100644 --- a/tests/baselines/reference/user/graceful-fs.log +++ b/tests/baselines/reference/user/graceful-fs.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/graceful-fs/clone.js(16,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'copy' must be of type '{ __proto__: any; }', but here has type 'any'. node_modules/graceful-fs/clone.js(19,38): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType'. diff --git a/tests/baselines/reference/user/jimp.log b/tests/baselines/reference/user/jimp.log new file mode 100644 index 0000000000000..cf310ba0e319b --- /dev/null +++ b/tests/baselines/reference/user/jimp.log @@ -0,0 +1,7 @@ +Exit Code: 2 +Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. + + + +Standard error: diff --git a/tests/baselines/reference/user/lodash.log b/tests/baselines/reference/user/lodash.log index d4b8e00ba5c29..44f06cc56b87e 100644 --- a/tests/baselines/reference/user/lodash.log +++ b/tests/baselines/reference/user/lodash.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/lodash/_Hash.js(20,17): error TS2532: Object is possibly 'undefined'. node_modules/lodash/_ListCache.js(20,17): error TS2532: Object is possibly 'undefined'. node_modules/lodash/_MapCache.js(20,17): error TS2532: Object is possibly 'undefined'. diff --git a/tests/baselines/reference/user/minimatch.log b/tests/baselines/reference/user/minimatch.log index f9be18d63af2a..e823a46e7136e 100644 --- a/tests/baselines/reference/user/minimatch.log +++ b/tests/baselines/reference/user/minimatch.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/minimatch/minimatch.js(77,17): error TS2551: Property 'minimatch' does not exist on type 'typeof minimatch'. Did you mean 'Minimatch'? node_modules/minimatch/minimatch.js(144,12): error TS2339: Property '_made' does not exist on type 'make'. node_modules/minimatch/minimatch.js(146,22): error TS2339: Property 'pattern' does not exist on type 'make'. diff --git a/tests/baselines/reference/user/mqtt.log b/tests/baselines/reference/user/mqtt.log index ec41e8ba7f33e..2dc305eb8f748 100644 --- a/tests/baselines/reference/user/mqtt.log +++ b/tests/baselines/reference/user/mqtt.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +../../../../node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. 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. Try `npm i --save-dev @types/ws` if it exists or add a new declaration (.d.ts) file containing `declare module 'ws';` diff --git a/tests/baselines/reference/user/npmlog.log b/tests/baselines/reference/user/npmlog.log index ed5e24c2096a3..155355d0594c1 100644 --- a/tests/baselines/reference/user/npmlog.log +++ b/tests/baselines/reference/user/npmlog.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/npmlog/log.js(82,8): error TS2339: Property 'tracker' does not exist on type 'enableProgress'. node_modules/npmlog/log.js(82,34): error TS2339: Property 'showProgress' does not exist on type 'enableProgress'. node_modules/npmlog/log.js(83,12): error TS2339: Property '_pause' does not exist on type 'enableProgress'. diff --git a/tests/baselines/reference/user/octokit-rest.log b/tests/baselines/reference/user/octokit-rest.log new file mode 100644 index 0000000000000..cf310ba0e319b --- /dev/null +++ b/tests/baselines/reference/user/octokit-rest.log @@ -0,0 +1,7 @@ +Exit Code: 2 +Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. + + + +Standard error: diff --git a/tests/baselines/reference/user/soap.log b/tests/baselines/reference/user/soap.log index 9e3c563c96b60..bf510da3fb660 100644 --- a/tests/baselines/reference/user/soap.log +++ b/tests/baselines/reference/user/soap.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +../../../../node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. 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. Try `npm i --save-dev @types/sax` if it exists or add a new declaration (.d.ts) file containing `declare module 'sax';` diff --git a/tests/baselines/reference/user/ts-toolbelt.log b/tests/baselines/reference/user/ts-toolbelt.log index 207b5f6fbb76a..d487c7eb1acc9 100644 --- a/tests/baselines/reference/user/ts-toolbelt.log +++ b/tests/baselines/reference/user/ts-toolbelt.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +../../../../node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. index.ts(8,83): error TS2344: Type 'string' does not satisfy the constraint 'number'. diff --git a/tests/baselines/reference/user/tslint.log b/tests/baselines/reference/user/tslint.log new file mode 100644 index 0000000000000..cf310ba0e319b --- /dev/null +++ b/tests/baselines/reference/user/tslint.log @@ -0,0 +1,7 @@ +Exit Code: 2 +Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. + + + +Standard error: diff --git a/tests/baselines/reference/user/uglify-js.log b/tests/baselines/reference/user/uglify-js.log index bfeefe3191165..ac61a1d26853a 100644 --- a/tests/baselines/reference/user/uglify-js.log +++ b/tests/baselines/reference/user/uglify-js.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/uglify-js/lib/ast.js(124,34): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/ast.js(342,38): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/ast.js(555,33): error TS2554: Expected 0 arguments, but got 1. diff --git a/tests/baselines/reference/user/url-search-params.log b/tests/baselines/reference/user/url-search-params.log index ce0853aedd756..6165bff116a24 100644 --- a/tests/baselines/reference/user/url-search-params.log +++ b/tests/baselines/reference/user/url-search-params.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/url-search-params/build/url-search-params.node.js(174,1): error TS2629: Cannot assign to 'URLSearchParams' because it is a class. diff --git a/tests/baselines/reference/user/util.log b/tests/baselines/reference/user/util.log index 1c17b3aded474..fefcf8118c244 100644 --- a/tests/baselines/reference/user/util.log +++ b/tests/baselines/reference/user/util.log @@ -1,5 +1,6 @@ Exit Code: 2 Standard output: +node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. node_modules/util/util.js(27,20): error TS2555: Expected at least 2 arguments, but got 1. node_modules/util/util.js(35,45): error TS2769: No overload matches this call. The last overload gave the following error. diff --git a/tests/baselines/reference/user/webpack.log b/tests/baselines/reference/user/webpack.log index b89461e66d8c5..048341a06aee7 100644 --- a/tests/baselines/reference/user/webpack.log +++ b/tests/baselines/reference/user/webpack.log @@ -11,6 +11,7 @@ lib/cache/PackFileCacheStrategy.js(1234,46): error TS2345: Argument of type 'str 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). +node_modules/@types/node/globals.d.ts(347,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. diff --git a/tests/baselines/reference/user/zone.js.log b/tests/baselines/reference/user/zone.js.log new file mode 100644 index 0000000000000..a7bf3126c0440 --- /dev/null +++ b/tests/baselines/reference/user/zone.js.log @@ -0,0 +1,7 @@ +Exit Code: 2 +Standard output: +../../../../node_modules/@types/node/globals.d.ts(85,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'AbortSignal' must be of type '{ new (): AbortSignal; prototype: AbortSignal; abort(): AbortSignal; }', but here has type '{ new (): AbortSignal; prototype: AbortSignal; }'. + + + +Standard error: