diff --git a/tests/baselines/reference/docker/azure-sdk.log b/tests/baselines/reference/docker/azure-sdk.log index e8e12c9ea4656..0042adf99fec2 100644 --- a/tests/baselines/reference/docker/azure-sdk.log +++ b/tests/baselines/reference/docker/azure-sdk.log @@ -6,10 +6,6 @@ Node.js version is 12.8.1 (pre-LTS) Starting "rush rebuild" Executing a maximum of ?simultaneous processes... XX of XX: [@azure/abort-controller] completed successfully in ? seconds -XX of XX: [@azure/identity] completed successfully in ? seconds -XX of XX: [@azure/event-processor-host] completed successfully in ? seconds -XX of XX: [@azure/core-arm] completed successfully in ? seconds -XX of XX: [@azure/core-asynciterator-polyfill] completed successfully in ? seconds XX of XX: [@azure/core-auth] completed successfully in ? seconds npm ERR! code ELIFECYCLE npm ERR! errno 2 @@ -31,71 +27,42 @@ npm ERR! This is probably not a problem with npm. There is likely additional log npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log ERROR: "build:lib" exited with 1. +XX of XX: [@azure/event-processor-host] completed successfully in ? seconds +XX of XX: [@azure/core-asynciterator-polyfill] completed successfully in ? seconds XX of XX: [@azure/core-paging] completed successfully in ? seconds XX of XX: [@azure/core-tracing] completed successfully in ? seconds -npm ERR! code ELIFECYCLE -npm ERR! errno 2 -npm ERR! @azure/keyvault-certificates@X.X.X extract-api: `tsc -p . && api-extractor run --local` -npm ERR! Exit status 2 -npm ERR! -npm ERR! Failed at the @azure/keyvault-certificates@X.X.X extract-api script. -npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -npm ERR! A complete log of this run can be found in: -npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log -npm ERR! code ELIFECYCLE -npm ERR! errno 2 -npm ERR! @azure/keyvault-keys@X.X.X-preview.4 extract-api: `tsc -p . && api-extractor run --local` -npm ERR! Exit status 2 -npm ERR! -npm ERR! Failed at the @azure/keyvault-keys@X.X.X-preview.4 extract-api script. -npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -npm ERR! A complete log of this run can be found in: -npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log -npm ERR! code ELIFECYCLE -npm ERR! errno 2 -npm ERR! @azure/keyvault-secrets@X.X.X-preview.5 extract-api: `tsc -p . && api-extractor run --local` -npm ERR! Exit status 2 -npm ERR! -npm ERR! Failed at the @azure/keyvault-secrets@X.X.X-preview.5 extract-api script. -npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -npm ERR! A complete log of this run can be found in: -npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log XX of XX: [@azure/service-bus] completed successfully in ? seconds XX of XX: [@azure/storage-blob] completed successfully in ? seconds XX of XX: [@azure/storage-file] completed successfully in ? seconds XX of XX: [@azure/storage-queue] completed successfully in ? seconds -XX of XX: [@azure/template] completed successfully in ? seconds XX of XX: [testhub] completed successfully in ? seconds -SUCCESS (14) +SUCCESS (11) ================================ @azure/abort-controller (? seconds) -@azure/core-arm (? seconds) -@azure/core-asynciterator-polyfill (? seconds) @azure/core-auth (? seconds) +@azure/event-processor-host (? seconds) +@azure/core-asynciterator-polyfill (? seconds) @azure/core-paging (? seconds) @azure/core-tracing (? seconds) -@azure/event-processor-host (? seconds) -@azure/identity (? seconds) @azure/service-bus (? seconds) @azure/storage-blob (? seconds) @azure/storage-file (? seconds) @azure/storage-queue (? seconds) -@azure/template (? seconds) testhub (? seconds) ================================ -BLOCKED (1) +BLOCKED (8) ================================ +@azure/identity +@azure/core-amqp +@azure/core-arm @azure/event-hubs +@azure/keyvault-certificates +@azure/keyvault-keys +@azure/keyvault-secrets +@azure/template ================================ -FAILURE (5) +FAILURE (1) ================================ -@azure/core-amqp ( ? seconds) ->>> @azure/core-amqp -tsc -p . && rollup -c 2>&1 -src/errors.ts(580,20): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'typeof ConditionErrorNameMapper'. -src/errors.ts(604,34): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'typeof SystemErrorConditionMapper'. -src/errors.ts(605,20): error TS7053: Element implicitly has an 'any' type because expression of type 'any' can't be used to index type 'typeof ConditionErrorNameMapper'. -src/shims.d.ts(14,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'window' must be of type 'Window & typeof globalThis', but here has type 'Window'. @azure/core-http ( ? seconds) npm ERR! code ELIFECYCLE npm ERR! errno 2 @@ -117,36 +84,6 @@ npm ERR! This is probably not a problem with npm. There is likely additional log npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log ERROR: "build:lib" exited with 1. -@azure/keyvault-certificates ( ? seconds) -npm ERR! code ELIFECYCLE -npm ERR! errno 2 -npm ERR! @azure/keyvault-certificates@X.X.X extract-api: `tsc -p . && api-extractor run --local` -npm ERR! Exit status 2 -npm ERR! -npm ERR! Failed at the @azure/keyvault-certificates@X.X.X extract-api script. -npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -npm ERR! A complete log of this run can be found in: -npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log -@azure/keyvault-keys ( ? seconds) -npm ERR! code ELIFECYCLE -npm ERR! errno 2 -npm ERR! @azure/keyvault-keys@X.X.X-preview.4 extract-api: `tsc -p . && api-extractor run --local` -npm ERR! Exit status 2 -npm ERR! -npm ERR! Failed at the @azure/keyvault-keys@X.X.X-preview.4 extract-api script. -npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -npm ERR! A complete log of this run can be found in: -npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log -@azure/keyvault-secrets ( ? seconds) -npm ERR! code ELIFECYCLE -npm ERR! errno 2 -npm ERR! @azure/keyvault-secrets@X.X.X-preview.5 extract-api: `tsc -p . && api-extractor run --local` -npm ERR! Exit status 2 -npm ERR! -npm ERR! Failed at the @azure/keyvault-secrets@X.X.X-preview.5 extract-api script. -npm ERR! This is probably not a problem with npm. There is likely additional logging output above. -npm ERR! A complete log of this run can be found in: -npm ERR! /root/.npm/_logs/XXXX-XX-XXXXXXXXX-debug.log ================================ Error: Project(s) failed to build rush rebuild - Errors! ( ? seconds) @@ -155,14 +92,13 @@ rush rebuild - Errors! ( ? seconds) Standard error: -XX of XX: [@azure/core-amqp] failed to build! -XX of XX: [@azure/event-hubs] blocked by [@azure/core-amqp]! XX of XX: [@azure/core-http] failed to build! -XX of XX: [@azure/keyvault-certificates] failed to build! -XX of XX: [@azure/keyvault-keys] failed to build! -XX of XX: [@azure/keyvault-secrets] failed to build! -[@azure/core-amqp] Returned error code: 2 +XX of XX: [@azure/core-arm] blocked by [@azure/core-http]! +XX of XX: [@azure/keyvault-certificates] blocked by [@azure/core-http]! +XX of XX: [@azure/keyvault-keys] blocked by [@azure/core-http]! +XX of XX: [@azure/keyvault-secrets] blocked by [@azure/core-http]! +XX of XX: [@azure/identity] blocked by [@azure/core-http]! +XX of XX: [@azure/core-amqp] blocked by [@azure/core-http]! +XX of XX: [@azure/event-hubs] blocked by [@azure/core-http]! +XX of XX: [@azure/template] blocked by [@azure/core-http]! [@azure/core-http] Returned error code: 1 -[@azure/keyvault-certificates] Returned error code: 2 -[@azure/keyvault-keys] Returned error code: 2 -[@azure/keyvault-secrets] Returned error code: 2 diff --git a/tests/baselines/reference/user/TypeScript-Node-Starter.log b/tests/baselines/reference/user/TypeScript-Node-Starter.log index ef0a49b99405e..f26c48b3100c1 100644 --- a/tests/baselines/reference/user/TypeScript-Node-Starter.log +++ b/tests/baselines/reference/user/TypeScript-Node-Starter.log @@ -1,8 +1,11 @@ Exit Code: 1 Standard output: -src/controllers/user.ts(95,5): error TS2345: Argument of type '{ email: any; password: any; }' is not assignable to parameter of type 'Partial'. - Object literal may only specify known properties, and 'email' does not exist in type 'Partial'. -src/controllers/user.ts(105,16): error TS7006: Parameter 'err' implicitly has an 'any' type. +src/controllers/user.ts(210,33): error TS2339: Property 'provider' does not exist on type 'Params'. + Property 'provider' does not exist on type 'string[]'. +src/controllers/user.ts(232,51): error TS2339: Property 'token' does not exist on type 'Params'. + Property 'token' does not exist on type 'string[]'. +src/controllers/user.ts(264,59): error TS2339: Property 'token' does not exist on type 'Params'. + Property 'token' does not exist on type 'string[]'. diff --git a/tests/baselines/reference/user/TypeScript-Vue-Starter.log b/tests/baselines/reference/user/TypeScript-Vue-Starter.log new file mode 100644 index 0000000000000..99bf7df534e75 --- /dev/null +++ b/tests/baselines/reference/user/TypeScript-Vue-Starter.log @@ -0,0 +1,9 @@ +Exit Code: 1 +Standard output: +src/components/Hello.spec.ts(4,1): error TS2593: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. +src/components/Hello.spec.ts(5,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. +src/components/Hello.spec.ts(14,5): error TS2304: Cannot find name 'expect'. + + + +Standard error: diff --git a/tests/baselines/reference/user/axios-src.log b/tests/baselines/reference/user/axios-src.log index 088a83ccd2e89..6d90ef3ca83b0 100644 --- a/tests/baselines/reference/user/axios-src.log +++ b/tests/baselines/reference/user/axios-src.log @@ -8,11 +8,11 @@ lib/adapters/http.js(121,40): error TS2532: Object is possibly 'undefined'. lib/adapters/http.js(122,17): error TS2531: Object is possibly 'null'. lib/adapters/http.js(122,54): error TS2531: Object is possibly 'null'. lib/adapters/http.js(122,54): error TS2532: Object is possibly 'undefined'. -lib/adapters/http.js(220,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. -lib/adapters/http.js(226,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. -lib/adapters/http.js(232,13): error TS2322: Type 'string' is not assignable to type 'Buffer'. -lib/adapters/http.js(244,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. -lib/adapters/http.js(268,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. +lib/adapters/http.js(221,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. +lib/adapters/http.js(227,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. +lib/adapters/http.js(233,13): error TS2322: Type 'string' is not assignable to type 'Buffer'. +lib/adapters/http.js(245,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. +lib/adapters/http.js(269,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. lib/adapters/xhr.js(62,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'. lib/adapters/xhr.js(74,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'. lib/adapters/xhr.js(81,51): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. diff --git a/tests/baselines/reference/user/create-react-app.log b/tests/baselines/reference/user/create-react-app.log index 88113a4ae14b8..4ce65c3b59abe 100644 --- a/tests/baselines/reference/user/create-react-app.log +++ b/tests/baselines/reference/user/create-react-app.log @@ -1,147 +1,10 @@ Exit Code: 1 Standard output: -node_modules/commander/typings/index.d.ts(26,25): error TS2304: Cannot find name 'NodeJS'. -packages/babel-preset-react-app/create.js(24,5): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(26,5): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(31,7): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(38,7): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(45,7): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(63,7): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(65,7): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(74,19): error TS2307: Cannot find module 'babel-preset-env'. -packages/babel-preset-react-app/create.js(82,9): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(86,9): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(94,11): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(110,9): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(115,11): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/create.js(122,9): error TS2591: Cannot find name 'require'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/index.js(17,11): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/babel-preset-react-app/index.js(17,36): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(37,37): error TS2307: Cannot find module 'validate-npm-package-name'. -packages/create-react-app/createReactApp.js(41,22): error TS2307: Cannot find module 'path'. -packages/create-react-app/createReactApp.js(42,26): error TS2307: Cannot find module 'child_process'. -packages/create-react-app/createReactApp.js(45,21): error TS2307: Cannot find module 'dns'. -packages/create-react-app/createReactApp.js(47,24): error TS2307: Cannot find module 'tar-pack'. -packages/create-react-app/createReactApp.js(49,28): error TS2307: Cannot find module 'hyperquest'. -packages/create-react-app/createReactApp.js(50,25): error TS2307: Cannot find module 'envinfo'. -packages/create-react-app/createReactApp.js(52,29): error TS2732: Cannot find module './package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension -packages/create-react-app/createReactApp.js(107,10): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(116,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(129,3): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(146,10): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(163,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(180,29): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(181,3): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(183,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(186,25): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(189,31): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(316,9): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(375,9): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(379,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(509,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(519,25): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(526,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(529,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(543,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(559,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(568,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(586,33): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(591,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(597,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(654,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(655,12): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(669,15): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/createReactApp.js(711,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/index.js(41,26): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/create-react-app/index.js(55,3): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/FileSizeReporter.js(10,18): error TS2307: Cannot find module 'fs'. -packages/react-dev-utils/FileSizeReporter.js(11,20): error TS2307: Cannot find module 'path'. -packages/react-dev-utils/FileSizeReporter.js(13,24): error TS2307: Cannot find module 'filesize'. -packages/react-dev-utils/FileSizeReporter.js(14,25): error TS2307: Cannot find module 'recursive-readdir'. -packages/react-dev-utils/FileSizeReporter.js(16,24): error TS2307: Cannot find module 'gzip-size'. -packages/react-dev-utils/ModuleScopePlugin.js(11,22): error TS2307: Cannot find module 'path'. -packages/react-dev-utils/WebpackDevServerUtils.js(9,25): error TS2307: Cannot find module 'address'. -packages/react-dev-utils/WebpackDevServerUtils.js(10,20): error TS2307: Cannot find module 'fs'. -packages/react-dev-utils/WebpackDevServerUtils.js(11,22): error TS2307: Cannot find module 'path'. -packages/react-dev-utils/WebpackDevServerUtils.js(14,24): error TS2307: Cannot find module 'detect-port-alt'. -packages/react-dev-utils/WebpackDevServerUtils.js(15,24): error TS2307: Cannot find module 'is-root'. -packages/react-dev-utils/WebpackDevServerUtils.js(21,23): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/WebpackDevServerUtils.js(26,21): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/WebpackDevServerUtils.js(30,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/WebpackDevServerUtils.js(32,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/WebpackDevServerUtils.js(127,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/WebpackDevServerUtils.js(287,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/WebpackDevServerUtils.js(304,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/WebpackDevServerUtils.js(308,9): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/WebpackDevServerUtils.js(361,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/WebpackDevServerUtils.js(364,9): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/WebpackDevServerUtils.js(395,11): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(12,1): error TS2593: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(13,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(18,5): error TS2304: Cannot find name 'expect'. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(19,5): error TS2304: Cannot find name 'expect'. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(22,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(26,5): error TS2304: Cannot find name 'expect'. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(29,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(36,5): error TS2304: Cannot find name 'expect'. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(37,5): error TS2304: Cannot find name 'expect'. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(40,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(46,5): error TS2304: Cannot find name 'expect'. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(49,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. -packages/react-dev-utils/__tests__/ignoredFiles.test.js(53,5): error TS2304: Cannot find name 'expect'. -packages/react-dev-utils/checkRequiredFiles.js(10,18): error TS2307: Cannot find module 'fs'. -packages/react-dev-utils/checkRequiredFiles.js(11,20): error TS2307: Cannot find module 'path'. -packages/react-dev-utils/clearConsole.js(11,3): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/clearConsole.js(11,24): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/getProcessForPort.js(11,24): error TS2307: Cannot find module 'child_process'. -packages/react-dev-utils/getProcessForPort.js(12,20): error TS2307: Cannot find module 'path'. -packages/react-dev-utils/ignoredFiles.js(10,22): error TS2307: Cannot find module 'path'. -packages/react-dev-utils/launchEditor.js(9,20): error TS2307: Cannot find module 'fs'. -packages/react-dev-utils/launchEditor.js(10,22): error TS2307: Cannot find module 'path'. -packages/react-dev-utils/launchEditor.js(11,31): error TS2307: Cannot find module 'child_process'. -packages/react-dev-utils/launchEditor.js(12,20): error TS2307: Cannot find module 'os'. -packages/react-dev-utils/launchEditor.js(178,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/launchEditor.js(179,29): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/launchEditor.js(186,9): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/launchEditor.js(195,16): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/launchEditor.js(215,16): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/launchEditor.js(235,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/launchEditor.js(236,13): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/launchEditor.js(237,14): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/launchEditor.js(238,13): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/launchEditor.js(301,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/launchEditor.js(319,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/launchEditor.js(359,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/openBrowser.js(11,24): error TS2307: Cannot find module 'child_process'. -packages/react-dev-utils/openBrowser.js(13,19): error TS2307: Cannot find module 'opn'. -packages/react-dev-utils/openBrowser.js(28,17): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/openBrowser.js(44,21): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/openBrowser.js(70,5): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/openBrowser.js(79,14): error TS2304: Cannot find name '__dirname'. -packages/react-dev-utils/openBrowser.js(92,7): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/printHostingInstructions.js(13,20): error TS2307: Cannot find module 'fs'. -packages/react-dev-utils/webpackHotDevClient.js(19,22): error TS2307: Cannot find module 'sockjs-client'. -packages/react-dev-utils/webpackHotDevClient.js(24,28): error TS2307: Cannot find module 'react-error-overlay'. -packages/react-dev-utils/webpackHotDevClient.js(53,5): error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/webpackHotDevClient.js(53,26): error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/webpackHotDevClient.js(54,3): error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/webpackHotDevClient.js(223,40): error TS2304: Cannot find name '__webpack_hash__'. -packages/react-dev-utils/webpackHotDevClient.js(228,10): error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/webpackHotDevClient.js(233,8): error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -packages/react-dev-utils/webpackHotDevClient.js(261,16): error TS2591: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -tasks/cra.js(11,20): error TS2307: Cannot find module 'fs'. -tasks/cra.js(12,22): error TS2307: Cannot find module 'path'. -tasks/cra.js(13,20): error TS2307: Cannot find module 'child_process'. -tasks/cra.js(24,3): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -tasks/cra.js(31,3): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -tasks/cra.js(34,1): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -tasks/cra.js(35,1): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -tasks/cra.js(41,27): error TS2304: Cannot find name '__dirname'. -tasks/cra.js(58,38): error TS2304: Cannot find name '__dirname'. -tasks/cra.js(91,14): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i @types/node` and then add `node` to the types field in your tsconfig. -tasks/replace-own-deps.js(12,20): error TS2307: Cannot find module 'fs'. -tasks/replace-own-deps.js(13,22): error TS2307: Cannot find module 'path'. -tasks/replace-own-deps.js(15,31): error TS2304: Cannot find name '__dirname'. +test/fixtures/issue-5176-flow-class-properties/src/App.js(5,8): error TS8010: 'types' can only be used in a .ts file. +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(14,1): error TS1005: ' any'. -src/cli/util.js(372,29): error TS2532: Object is possibly 'undefined'. -src/cli/util.js(372,64): error TS2339: Property 'length' does not exist on type 'Ignore'. -src/cli/util.js(413,36): error TS2345: Argument of type '{ dot: true; nodir: boolean; }' is not assignable to parameter of type 'GlobbyOptions'. +node_modules/@glimmer/interfaces/dist/types/lib/components.d.ts(1,40): error TS2307: Cannot find module '@glimmer/reference'. +node_modules/@glimmer/interfaces/dist/types/lib/components/component-manager.d.ts(1,45): error TS2307: Cannot find module '@glimmer/reference'. +node_modules/@glimmer/interfaces/dist/types/lib/components/component-manager.d.ts(2,31): error TS2307: Cannot find module '@simple-dom/interface'. +node_modules/@glimmer/interfaces/dist/types/lib/dom/attributes.d.ts(8,8): error TS2307: Cannot find module '@simple-dom/interface'. +node_modules/@glimmer/interfaces/dist/types/lib/dom/bounds.d.ts(1,43): error TS2307: Cannot find module '@simple-dom/interface'. +node_modules/@glimmer/interfaces/dist/types/lib/dom/changes.d.ts(7,8): error TS2307: Cannot find module '@simple-dom/interface'. +node_modules/@glimmer/interfaces/dist/types/lib/dom/tree-construction.d.ts(7,8): error TS2307: Cannot find module '@simple-dom/interface'. +node_modules/@glimmer/interfaces/dist/types/lib/runtime/arguments.d.ts(1,45): error TS2307: Cannot find module '@glimmer/reference'. +node_modules/@glimmer/interfaces/dist/types/lib/runtime/element.d.ts(1,36): error TS2307: Cannot find module '@glimmer/reference'. +node_modules/@glimmer/interfaces/dist/types/lib/runtime/environment.d.ts(1,76): error TS2307: Cannot find module '@glimmer/reference'. +node_modules/@glimmer/interfaces/dist/types/lib/runtime/environment.d.ts(2,36): error TS2307: Cannot find module '@glimmer/runtime'. +node_modules/@glimmer/interfaces/dist/types/lib/runtime/environment.d.ts(3,46): error TS2307: Cannot find module '@simple-dom/interface'. +node_modules/@glimmer/interfaces/dist/types/lib/runtime/modifier.d.ts(4,21): error TS2307: Cannot find module '@glimmer/reference'. +node_modules/@glimmer/interfaces/dist/types/lib/runtime/modifier.d.ts(6,31): error TS2307: Cannot find module '@simple-dom/interface'. +node_modules/@glimmer/interfaces/dist/types/lib/runtime/render.d.ts(1,43): error TS2307: Cannot find module '@simple-dom/interface'. +node_modules/@glimmer/interfaces/dist/types/lib/runtime/scope.d.ts(2,40): error TS2307: Cannot find module '@glimmer/reference'. +node_modules/@glimmer/interfaces/dist/types/lib/runtime/vm.d.ts(2,31): error TS2307: Cannot find module '@glimmer/reference'. +node_modules/@glimmer/util/dist/types/lib/destroy.d.ts(3,69): error TS2677: A type predicate's type must be assignable to its parameter's type. + Type 'SymbolDestroyable' is not assignable to type 'Maybe>'. + Type 'SymbolDestroyable' is not assignable to type 'Dict'. + Index signature is missing in type 'SymbolDestroyable'. +node_modules/@glimmer/util/dist/types/lib/dom.d.ts(1,31): error TS2307: Cannot find module '@simple-dom/interface'. +node_modules/@glimmer/util/dist/types/lib/is-serialization-first-node.d.ts(1,28): error TS2307: Cannot find module '@simple-dom/interface'. +src/cli/util.js(63,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'. +src/cli/util.js(122,38): error TS2339: Property 'sync' does not exist on type '(...args: any[]) => any'. +src/cli/util.js(416,36): error TS2345: Argument of type '{ dot: true; nodir: boolean; }' is not assignable to parameter of type 'GlobbyOptions'. Object literal may only specify known properties, and 'nodir' does not exist in type 'GlobbyOptions'. -src/cli/util.js(452,25): error TS2532: Object is possibly 'undefined'. -src/cli/util.js(452,52): error TS2339: Property 'length' does not exist on type 'Ignore'. -src/cli/util.js(510,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'. -src/cli/util.js(531,37): error TS2339: Property 'grey' does not exist on type 'typeof import("../../../node_modules/chalk/types/index")'. -src/cli/util.js(594,16): error TS2339: Property 'type' does not exist on type 'never'. -src/cli/util.js(595,16): error TS2339: Property 'oppositeDescription' does not exist on type 'never'. -src/cli/util.js(596,17): error TS2339: Property 'name' does not exist on type 'never'. -src/cli/util.js(696,22): error TS2339: Property 'name' does not exist on type 'never'. -src/cli/util.js(696,46): error TS2339: Property 'alias' does not exist on type 'never'. +src/cli/util.js(483,46): error TS2345: Argument of type 'null' is not assignable to parameter of type 'number | undefined'. +src/cli/util.js(509,36): error TS2339: Property 'grey' does not exist on type 'typeof import("../../../node_modules/chalk/types/index")'. +src/cli/util.js(562,39): error TS2339: Property 'grey' does not exist on type 'typeof import("../../../node_modules/chalk/types/index")'. +src/cli/util.js(635,16): error TS2339: Property 'type' does not exist on type 'never'. +src/cli/util.js(636,16): error TS2339: Property 'oppositeDescription' does not exist on type 'never'. +src/cli/util.js(637,17): error TS2339: Property 'name' does not exist on type 'never'. +src/cli/util.js(737,22): error TS2339: Property 'name' does not exist on type 'never'. +src/cli/util.js(737,46): error TS2339: Property 'alias' does not exist on type 'never'. +src/common/create-ignorer.js(34,19): error TS2349: This expression is not callable. + Type 'typeof import("/prettier/prettier/node_modules/ignore/index")' has no call signatures. src/common/parser-create-error.js(8,9): error TS2339: Property 'loc' does not exist on type 'SyntaxError'. src/config/resolve-config.js(14,12): error TS2571: Object is of type 'unknown'. src/config/resolve-config.js(50,16): error TS2571: Object is of type 'unknown'. @@ -57,13 +78,6 @@ src/language-graphql/index.js(8,62): error TS2345: Argument of type '{ override: src/language-handlebars/index.js(7,26): error TS2307: Cannot find module 'linguist-languages/data/handlebars'. src/language-handlebars/index.js(7,65): error TS2345: Argument of type '{ override: { since: null; parsers: string[]; vscodeLanguageIds: string[]; }; }' is not assignable to parameter of type '{ extend: any; override: any; }'. Property 'extend' is missing in type '{ override: { since: null; parsers: string[]; vscodeLanguageIds: string[]; }; }' but required in type '{ extend: any; override: any; }'. -src/language-handlebars/parser-glimmer.js(27,26): error TS2345: Argument of type '{ plugins: { ast: (() => { visitor: { Program(node: any): void; ElementNode(node: any): void; }; })[]; }; }' is not assignable to parameter of type 'PreprocessOptions'. - Types of property 'plugins' are incompatible. - Type '{ ast: (() => { visitor: { Program(node: any): void; ElementNode(node: any): void; }; })[]; }' is not assignable to type '{ ast?: ASTPluginBuilder[] | undefined; }'. - Types of property 'ast' are incompatible. - Type '(() => { visitor: { Program(node: any): void; ElementNode(node: any): void; }; })[]' is not assignable to type 'ASTPluginBuilder[]'. - Type '() => { visitor: { Program(node: any): void; ElementNode(node: any): void; }; }' is not assignable to type 'ASTPluginBuilder'. - Property 'name' is missing in type '{ visitor: { Program(node: any): void; ElementNode(node: any): void; }; }' but required in type 'ASTPlugin'. src/language-html/ast.js(53,11): error TS2536: Type 'Extract' cannot be used to index type 'Node'. src/language-html/ast.js(56,15): error TS2339: Property 'index' does not exist on type 'Node'. src/language-html/ast.js(56,22): error TS2339: Property 'siblings' does not exist on type 'Node'. @@ -114,14 +128,14 @@ src/language-html/parser-html.js(161,14): error TS2339: Property 'tagDefinition' src/language-html/parser-html.js(194,29): error TS2345: Argument of type '{ type: any; value: any; raw: any; }' is not assignable to parameter of type 'Node'. Type '{ type: any; value: any; raw: any; }' is missing the following properties from type 'Node': sourceSpan, visit src/language-html/preprocess.js(28,19): error TS2554: Expected 0-1 arguments, but got 2. -src/language-html/printer-html.js(313,13): error TS2769: No overload matches this call. +src/language-html/printer-html.js(314,13): error TS2769: No overload matches this call. Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. Type '""' is not assignable to type 'ConcatArray'. Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. Type '""' is not assignable to type 'ConcatArray'. -src/language-html/printer-html.js(470,11): error TS2769: No overload matches this call. +src/language-html/printer-html.js(471,11): error TS2769: No overload matches this call. Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type '{ type: string; parts: any; }[]' is not assignable to parameter of type 'ConcatArray'. Types of property 'slice' are incompatible. @@ -130,28 +144,28 @@ src/language-html/printer-html.js(470,11): error TS2769: No overload matches thi Type '{ type: string; parts: any; }' is not assignable to type 'never'. Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type '{ type: string; parts: any; }[]' is not assignable to parameter of type 'ConcatArray'. -src/language-html/printer-html.js(491,11): error TS2769: No overload matches this call. +src/language-html/printer-html.js(492,11): error TS2769: No overload matches this call. Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. Type '""' is not assignable to type 'ConcatArray'. Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. Type '""' is not assignable to type 'ConcatArray'. -src/language-html/printer-html.js(514,11): error TS2769: No overload matches this call. +src/language-html/printer-html.js(515,11): error TS2769: No overload matches this call. Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. Type '""' is not assignable to type 'ConcatArray'. Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type '"" | ">" | "/>" | "}}" | "]>" | ">" | "[endif]-->" | "]>"' is not assignable to parameter of type 'ConcatArray'. Type '""' is not assignable to type 'ConcatArray'. -src/language-html/printer-html.js(637,55): error TS2554: Expected 0 arguments, but got 1. +src/language-html/printer-html.js(638,55): error TS2554: Expected 0 arguments, but got 1. src/language-html/syntax-vue.js(14,11): error TS2339: Property 'left' does not exist on type '{ left: string; operator: any; right: any; } | undefined'. src/language-html/syntax-vue.js(14,17): error TS2339: Property 'operator' does not exist on type '{ left: string; operator: any; right: any; } | undefined'. src/language-html/syntax-vue.js(14,27): error TS2339: Property 'right' does not exist on type '{ left: string; operator: any; right: any; } | undefined'. src/language-html/utils.js(10,30): error TS2307: Cannot find module 'html-tag-names'. src/language-html/utils.js(11,39): error TS2307: Cannot find module 'html-element-attributes'. -src/language-html/utils.js(441,17): error TS2554: Expected 0 arguments, but got 1. -src/language-js/comments.js(866,64): error TS2554: Expected 0 arguments, but got 1. +src/language-html/utils.js(444,17): error TS2554: Expected 0 arguments, but got 1. +src/language-js/comments.js(864,64): error TS2554: Expected 0 arguments, but got 1. src/language-js/index.js(9,26): error TS2307: Cannot find module 'linguist-languages/data/javascript'. src/language-js/index.js(19,26): error TS2307: Cannot find module 'linguist-languages/data/javascript'. src/language-js/index.js(19,65): error TS2345: Argument of type '{ override: { name: string; since: string; parsers: string[]; vscodeLanguageIds: string[]; aliases: never[]; filenames: never[]; extensions: string[]; }; }' is not assignable to parameter of type '{ extend: any; override: any; }'. @@ -170,45 +184,69 @@ src/language-js/index.js(66,26): error TS2307: Cannot find module 'linguist-lang src/language-js/index.js(76,26): error TS2307: Cannot find module 'linguist-languages/data/json5'. src/language-js/index.js(76,60): error TS2345: Argument of type '{ override: { since: string; parsers: string[]; vscodeLanguageIds: string[]; }; }' is not assignable to parameter of type '{ extend: any; override: any; }'. Property 'extend' is missing in type '{ override: { since: string; parsers: string[]; vscodeLanguageIds: string[]; }; }' but required in type '{ extend: any; override: any; }'. -src/language-js/printer-estree.js(262,36): error TS2304: Cannot find name 'Doc'. -src/language-js/printer-estree.js(263,62): error TS2304: Cannot find name 'Doc'. -src/language-js/printer-estree.js(270,12): error TS2304: Cannot find name 'FastPath'. -src/language-js/printer-estree.js(271,12): error TS2304: Cannot find name 'Options'. -src/language-js/printer-estree.js(397,9): error TS2769: No overload matches this call. +src/language-js/needs-parens.js(890,14): error TS2769: No overload matches this call. + Overload 1 of 2, '(...items: ConcatArray<(childPath: any) => any>[]): ((childPath: any) => any)[]', gave the following error. + Argument of type '(string | number)[]' is not assignable to parameter of type 'ConcatArray<(childPath: any) => any>'. + Types of property 'slice' are incompatible. + Type '(start?: number | undefined, end?: number | undefined) => (string | number)[]' is not assignable to type '(start?: number | undefined, end?: number | undefined) => ((childPath: any) => any)[]'. + Type '(string | number)[]' is not assignable to type '((childPath: any) => any)[]'. + Type 'string | number' is not assignable to type '(childPath: any) => any'. + Type 'string' is not assignable to type '(childPath: any) => any'. + Overload 2 of 2, '(...items: (((childPath: any) => any) | ConcatArray<(childPath: any) => any>)[]): ((childPath: any) => any)[]', gave the following error. + Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'. + Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'. +src/language-js/printer-estree.js(265,36): error TS2304: Cannot find name 'Doc'. +src/language-js/printer-estree.js(266,62): error TS2304: Cannot find name 'Doc'. +src/language-js/printer-estree.js(273,12): error TS2304: Cannot find name 'FastPath'. +src/language-js/printer-estree.js(274,12): error TS2304: Cannot find name 'Options'. +src/language-js/printer-estree.js(400,9): error TS2769: No overload matches this call. Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray'. Type '{ type: string; parts: any; }' is missing the following properties from type 'ConcatArray': length, join, slice Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type '{ type: string; parts: any; } | { type: string; contents: any; n: any; }' is not assignable to parameter of type 'ConcatArray'. Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray'. -src/language-js/printer-estree.js(1470,28): error TS2769: No overload matches this call. +src/language-js/printer-estree.js(1472,28): error TS2769: No overload matches this call. Overload 1 of 2, '(...items: ConcatArray[]): (string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; })[]', gave the following error. Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray'. Type '{ type: string; parts: any; }' is missing the following properties from type 'ConcatArray': length, join, slice Overload 2 of 2, '(...items: (string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; } | ConcatArray)[]): (string | { ...; })[]', gave the following error. Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string | { type: string; id: any; contents: any; break: boolean; expandedStates: any; } | ConcatArray'. Type '{ type: string; parts: any; }' is missing the following properties from type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }': id, contents, break, expandedStates -src/language-js/printer-estree.js(1890,20): error TS2345: Argument of type '" "' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. -src/language-js/printer-estree.js(1892,20): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. -src/language-js/printer-estree.js(1894,18): error TS2345: Argument of type '"while ("' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. -src/language-js/printer-estree.js(1903,9): error TS2345: Argument of type '")"' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. -src/language-js/printer-estree.js(2426,28): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. -src/language-js/printer-estree.js(3513,11): error TS2769: No overload matches this call. +src/language-js/printer-estree.js(1905,20): error TS2345: Argument of type '" "' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. +src/language-js/printer-estree.js(1907,20): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. +src/language-js/printer-estree.js(1909,18): error TS2345: Argument of type '"while ("' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. +src/language-js/printer-estree.js(1918,9): error TS2345: Argument of type '")"' is not assignable to parameter of type '{ type: string; id: any; contents: any; break: boolean; expandedStates: any; }'. +src/language-js/printer-estree.js(3464,11): error TS2769: No overload matches this call. Overload 1 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray'. Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray'. Overload 2 of 2, '(...items: ConcatArray[]): never[]', gave the following error. Argument of type 'never[] | { type: string; parts: any; }' is not assignable to parameter of type 'ConcatArray'. Type '{ type: string; parts: any; }' is not assignable to type 'ConcatArray'. -src/language-js/printer-estree.js(4031,23): error TS2532: Object is possibly 'undefined'. -src/language-js/printer-estree.js(4032,24): error TS2532: Object is possibly 'undefined'. -src/language-js/printer-estree.js(4360,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'. +src/language-js/printer-estree.js(3893,22): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. +src/language-js/printer-estree.js(3960,14): error TS2339: Property 'comments' does not exist on type 'Expression'. + Property 'comments' does not exist on type 'Identifier'. +src/language-js/printer-estree.js(3972,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"OptionalMemberExpression"' have no overlap. +src/language-js/printer-estree.js(3973,13): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ObjectExpression | YieldExpression | UnaryExpression | UpdateExpression | ... 12 more ... | AwaitExpression'. + Property 'property' does not exist on type 'SimpleLiteral'. +src/language-js/printer-estree.js(3973,52): error TS2339: Property 'property' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ObjectExpression | YieldExpression | UnaryExpression | UpdateExpression | ... 12 more ... | AwaitExpression'. + Property 'property' does not exist on type 'SimpleLiteral'. +src/language-js/printer-estree.js(3978,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"OptionalMemberExpression"' have no overlap. +src/language-js/printer-estree.js(3980,29): error TS2339: Property 'object' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ObjectExpression | YieldExpression | UnaryExpression | UpdateExpression | ... 12 more ... | AwaitExpression'. + Property 'object' does not exist on type 'SimpleLiteral'. +src/language-js/printer-estree.js(3981,22): error TS2339: Property 'comments' does not exist on type 'SimpleLiteral | RegExpLiteral | FunctionExpression | ArrowFunctionExpression | ArrayExpression | ObjectExpression | YieldExpression | UnaryExpression | UpdateExpression | ... 12 more ... | AwaitExpression'. + Property 'comments' does not exist on type 'SimpleLiteral'. +src/language-js/printer-estree.js(3987,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"Identifier"' have no overlap. +src/language-js/printer-estree.js(3988,9): error TS2367: This condition will always return 'false' since the types '"FunctionExpression" | "ClassExpression" | "ObjectExpression" | "TaggedTemplateExpression" | "CallExpression" | "ConditionalExpression" | "UpdateExpression" | "SequenceExpression" | ... 11 more ... | "MetaProperty"' and '"ThisExpression"' have no overlap. +src/language-js/printer-estree.js(4192,23): error TS2532: Object is possibly 'undefined'. +src/language-js/printer-estree.js(4193,24): error TS2532: Object is possibly 'undefined'. +src/language-js/printer-estree.js(4546,5): error TS2345: Argument of type '"" | { type: string; parts: any; } | { type: string; contents: any; }' is not assignable to parameter of type 'string'. Type '{ type: string; parts: any; }' is not assignable to type 'string'. -src/language-js/printer-estree.js(4364,16): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'. -src/language-js/printer-estree.js(4406,9): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'. -src/language-js/printer-estree.js(4708,9): error TS2554: Expected 0-2 arguments, but got 3. -src/language-js/printer-estree.js(5939,55): error TS2554: Expected 0-1 arguments, but got 2. -src/language-js/printer-estree.js(5975,7): error TS2769: No overload matches this call. +src/language-js/printer-estree.js(4550,16): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'. +src/language-js/printer-estree.js(4592,9): error TS2345: Argument of type '{ type: string; parts: any; }' is not assignable to parameter of type 'string'. +src/language-js/printer-estree.js(4894,9): error TS2554: Expected 0-2 arguments, but got 3. +src/language-js/printer-estree.js(6101,7): error TS2769: No overload matches this call. Overload 1 of 2, '(...items: ConcatArray<(childPath: any) => any>[]): ((childPath: any) => any)[]', gave the following error. Argument of type '(string | number)[]' is not assignable to parameter of type 'ConcatArray<(childPath: any) => any>'. Types of property 'slice' are incompatible. @@ -219,14 +257,15 @@ src/language-js/printer-estree.js(5975,7): error TS2769: No overload matches thi Overload 2 of 2, '(...items: (((childPath: any) => any) | ConcatArray<(childPath: any) => any>)[]): ((childPath: any) => any)[]', gave the following error. Argument of type '(string | number)[]' is not assignable to parameter of type '((childPath: any) => any) | ConcatArray<(childPath: any) => any>'. Type '(string | number)[]' is not assignable to type 'ConcatArray<(childPath: any) => any>'. +src/language-js/utils.js(107,55): error TS2554: Expected 0-1 arguments, but got 2. src/language-markdown/index.js(8,26): error TS2307: Cannot find module 'linguist-languages/data/markdown'. src/language-markdown/index.js(20,5): error TS2345: Argument of type '{ override: { since: string; parsers: string[]; vscodeLanguageIds: string[]; }; }' is not assignable to parameter of type '{ extend: any; override: any; }'. Property 'extend' is missing in type '{ override: { since: string; parsers: string[]; vscodeLanguageIds: string[]; }; }' but required in type '{ extend: any; override: any; }'. -src/language-markdown/printer-markdown.js(270,18): error TS2532: Object is possibly 'undefined'. -src/language-markdown/printer-markdown.js(271,17): error TS2532: Object is possibly 'undefined'. -src/language-markdown/printer-markdown.js(292,14): error TS2532: Object is possibly 'undefined'. +src/language-markdown/printer-markdown.js(278,18): error TS2532: Object is possibly 'undefined'. +src/language-markdown/printer-markdown.js(279,17): error TS2532: Object is possibly 'undefined'. +src/language-markdown/printer-markdown.js(300,14): error TS2532: Object is possibly 'undefined'. src/language-markdown/utils.js(203,5): error TS2322: Type 'never[]' is not assignable to type 'null'. -src/language-markdown/utils.js(208,39): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'null'. +src/language-markdown/utils.js(213,47): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'null'. src/language-yaml/index.js(8,26): error TS2307: Cannot find module 'linguist-languages/data/yaml'. src/language-yaml/index.js(8,59): error TS2345: Argument of type '{ override: { since: string; parsers: string[]; vscodeLanguageIds: string[]; }; }' is not assignable to parameter of type '{ extend: any; override: any; }'. Property 'extend' is missing in type '{ override: { since: string; parsers: string[]; vscodeLanguageIds: string[]; }; }' but required in type '{ extend: any; override: any; }'. @@ -270,11 +309,11 @@ src/main/core-options.js(251,9): error TS2322: Type '[{ since: string; value: fa Object literal may only specify known properties, and 'since' does not exist in type '{ value: (string | number | boolean)[]; }'. src/main/core-options.js(254,5): error TS2322: Type 'string' is not assignable to type 'boolean | null'. src/main/core-options.js(259,3): error TS2740: Type '{ since: string; category: string; type: "boolean"; default: false; description: string; }' is missing the following properties from type 'OptionInfo': array, deprecated, redirect, oppositeDescription, and 3 more. -src/main/core.js(304,34): error TS2538: Type 'false' cannot be used as an index type. -src/main/core.js(304,47): error TS2538: Type 'false' cannot be used as an index type. -src/main/core.js(309,28): error TS2538: Type 'false' cannot be used as an index type. -src/main/core.js(309,72): error TS2538: Type 'false' cannot be used as an index type. -src/main/core.js(317,14): error TS2538: Type 'false' cannot be used as an index type. +src/main/core.js(303,34): error TS2538: Type 'false' cannot be used as an index type. +src/main/core.js(303,47): error TS2538: Type 'false' cannot be used as an index type. +src/main/core.js(308,28): error TS2538: Type 'false' cannot be used as an index type. +src/main/core.js(308,72): error TS2538: Type 'false' cannot be used as an index type. +src/main/core.js(316,14): error TS2538: Type 'false' cannot be used as an index type. src/main/options-normalizer.js(35,35): error TS2339: Property 'yellow' does not exist on type 'typeof import("../../../node_modules/chalk/types/index")'. src/main/options-normalizer.js(36,35): error TS2339: Property 'blue' does not exist on type 'typeof import("../../../node_modules/chalk/types/index")'. src/main/options-normalizer.js(54,5): error TS2525: Initializer provides no value for this binding element and the binding element has no default value. diff --git a/tests/baselines/reference/user/puppeteer.log b/tests/baselines/reference/user/puppeteer.log index 2bb13ddbadec4..967e495f89911 100644 --- a/tests/baselines/reference/user/puppeteer.log +++ b/tests/baselines/reference/user/puppeteer.log @@ -1,17 +1,17 @@ Exit Code: 1 Standard output: -lib/Accessibility.js(118,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Accessibility.js(310,7): error TS2322: Type 'string | number | boolean' is not assignable to type 'never'. +lib/Accessibility.js(134,15): error TS2503: Cannot find namespace 'Protocol'. +lib/Accessibility.js(341,7): error TS2322: Type 'string | number | boolean' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. -lib/Accessibility.js(333,7): error TS2322: Type 'string | number | true' is not assignable to type 'never'. +lib/Accessibility.js(364,7): error TS2322: Type 'string | number | true' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. -lib/Accessibility.js(345,7): error TS2322: Type 'boolean | "mixed"' is not assignable to type 'never'. +lib/Accessibility.js(376,7): error TS2322: Type 'boolean | "mixed"' is not assignable to type 'never'. Type 'false' is not assignable to type 'never'. -lib/Accessibility.js(356,7): error TS2322: Type 'string | number | boolean' is not assignable to type 'never'. +lib/Accessibility.js(387,7): error TS2322: Type 'string | number | boolean' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. -lib/Accessibility.js(369,7): error TS2322: Type 'string | number | true' is not assignable to type 'never'. +lib/Accessibility.js(400,7): error TS2322: Type 'string | number | true' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. -lib/Accessibility.js(375,22): error TS2503: Cannot find namespace 'Protocol'. +lib/Accessibility.js(406,22): error TS2503: Cannot find namespace 'Protocol'. lib/Browser.js(109,15): error TS2503: Cannot find namespace 'Protocol'. lib/Browser.js(116,58): error TS2322: Type 'Promise' is not assignable to type 'Promise'. Type 'CDPSession' is not assignable to type 'Puppeteer.CDPSession'. @@ -21,30 +21,28 @@ lib/Coverage.js(115,15): error TS2503: Cannot find namespace 'Protocol'. lib/Coverage.js(208,15): error TS2503: Cannot find namespace 'Protocol'. lib/EmulationManager.js(36,16): error TS2503: Cannot find namespace 'Protocol'. lib/ExecutionContext.js(26,15): error TS2503: Cannot find namespace 'Protocol'. -lib/ExecutionContext.js(157,18): error TS2503: Cannot find namespace 'Protocol'. -lib/FrameManager.js(29,15): error TS2503: Cannot find namespace 'Protocol'. -lib/FrameManager.js(132,15): error TS2503: Cannot find namespace 'Protocol'. -lib/FrameManager.js(154,15): error TS2503: Cannot find namespace 'Protocol'. -lib/FrameManager.js(211,15): error TS2503: Cannot find namespace 'Protocol'. -lib/FrameManager.js(649,15): error TS2503: Cannot find namespace 'Protocol'. +lib/ExecutionContext.js(158,18): error TS2503: Cannot find namespace 'Protocol'. +lib/FrameManager.js(152,15): error TS2503: Cannot find namespace 'Protocol'. +lib/FrameManager.js(174,15): error TS2503: Cannot find namespace 'Protocol'. +lib/FrameManager.js(231,15): error TS2503: Cannot find namespace 'Protocol'. +lib/FrameManager.js(669,15): error TS2503: Cannot find namespace 'Protocol'. lib/JSHandle.js(33,15): error TS2503: Cannot find namespace 'Protocol'. lib/JSHandle.js(129,15): error TS2503: Cannot find namespace 'Protocol'. -lib/JSHandle.js(216,29): error TS2503: Cannot find namespace 'Protocol'. +lib/JSHandle.js(220,29): error TS2503: Cannot find namespace 'Protocol'. lib/NetworkManager.js(31,30): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(136,15): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(156,15): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(194,15): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(215,15): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(225,15): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(239,15): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(252,15): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(271,15): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(295,15): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(514,15): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(654,13): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(689,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(71,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(112,33): error TS2345: Argument of type 'CDPSession' is not assignable to parameter of type 'Puppeteer.CDPSession'. +lib/NetworkManager.js(165,15): error TS2503: Cannot find namespace 'Protocol'. +lib/NetworkManager.js(184,15): error TS2503: Cannot find namespace 'Protocol'. +lib/NetworkManager.js(203,15): error TS2503: Cannot find namespace 'Protocol'. +lib/NetworkManager.js(224,15): error TS2503: Cannot find namespace 'Protocol'. +lib/NetworkManager.js(245,15): error TS2503: Cannot find namespace 'Protocol'. +lib/NetworkManager.js(255,15): error TS2503: Cannot find namespace 'Protocol'. +lib/NetworkManager.js(269,15): error TS2503: Cannot find namespace 'Protocol'. +lib/NetworkManager.js(282,15): error TS2503: Cannot find namespace 'Protocol'. +lib/NetworkManager.js(301,15): error TS2503: Cannot find namespace 'Protocol'. +lib/NetworkManager.js(325,15): error TS2503: Cannot find namespace 'Protocol'. +lib/NetworkManager.js(535,15): error TS2503: Cannot find namespace 'Protocol'. +lib/NetworkManager.js(674,15): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(93,33): error TS2345: Argument of type 'CDPSession' is not assignable to parameter of type 'Puppeteer.CDPSession'. Types of property 'on' are incompatible. Type '(event: string | symbol, listener: (...args: any[]) => void) => CDPSession' is not assignable to type '(event: T, listener: (arg: any) => void) => CDPSession'. Types of parameters 'event' and 'event' are incompatible. @@ -54,21 +52,22 @@ lib/Page.js(112,33): error TS2345: Argument of type 'CDPSession' is not assignab Type 'T' is not assignable to type 'symbol'. Type 'string | number | symbol' is not assignable to type 'symbol'. Type 'string' is not assignable to type 'symbol'. -lib/Page.js(189,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(284,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(369,20): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(432,7): error TS2740: Type '(...args: any[]) => Promise' is missing the following properties from type 'Window': applicationCache, caches, clientInformation, closed, and 227 more. -lib/Page.js(442,9): error TS2349: This expression is not callable. +lib/Page.js(146,15): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(219,15): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(387,20): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(450,7): error TS2740: Type '(...args: any[]) => Promise' is missing the following properties from type 'Window': applicationCache, caches, clientInformation, closed, and 227 more. +lib/Page.js(460,9): error TS2349: This expression is not callable. Type 'Window' has no call signatures. -lib/Page.js(478,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(488,22): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(501,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(511,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(536,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(589,14): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(890,19): error TS2503: Cannot find namespace 'Protocol'. -lib/Target.js(22,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Target.js(118,15): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(496,15): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(506,22): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(519,15): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(529,15): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(554,15): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(607,14): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(908,19): error TS2503: Cannot find namespace 'Protocol'. +lib/Page.js(1309,15): error TS2503: Cannot find namespace 'Protocol'. +lib/Target.js(23,15): error TS2503: Cannot find namespace 'Protocol'. +lib/Target.js(135,15): error TS2503: Cannot find namespace 'Protocol'. lib/Worker.js(25,50): error TS2503: Cannot find namespace 'Protocol'. lib/Worker.js(26,24): error TS2503: Cannot find namespace 'Protocol'. lib/Worker.js(33,26): error TS2503: Cannot find namespace 'Protocol'. diff --git a/tests/baselines/reference/user/webpack.log b/tests/baselines/reference/user/webpack.log index bc80729c5e8e4..a65f45d34f6d8 100644 --- a/tests/baselines/reference/user/webpack.log +++ b/tests/baselines/reference/user/webpack.log @@ -1,7 +1,7 @@ Exit Code: 1 Standard output: -../../../../../built/local/lib.dom.d.ts(19046,19): error TS2451: Cannot redeclare block-scoped variable 'WebAssembly'. -declarations.d.ts(258,15): error TS2451: Cannot redeclare block-scoped variable 'WebAssembly'. +lib/Compilation.js(538,5): error TS2322: Type 'Readonly<{ error: string; warn: string; info: string; log: string; debug: string; trace: string; group: string; groupCollapsed: string; groupEnd: string; profile: string; profileEnd: string; time: string; clear: string; status: string; }>' is not assignable to type 'string'. +lib/Compiler.js(228,48): error TS2345: Argument of type 'Readonly<{ error: string; warn: string; info: string; log: string; debug: string; trace: string; group: string; groupCollapsed: string; groupEnd: string; profile: string; profileEnd: string; time: string; clear: string; status: string; }>' is not assignable to parameter of type 'string'. diff --git a/tests/cases/user/create-react-app/create-react-app b/tests/cases/user/create-react-app/create-react-app index 437b83f0337a5..24780bbc60881 160000 --- a/tests/cases/user/create-react-app/create-react-app +++ b/tests/cases/user/create-react-app/create-react-app @@ -1 +1 @@ -Subproject commit 437b83f0337a5d57ce7dd976d2c3b44cb2037e45 +Subproject commit 24780bbc608810d874575791bffeb0148e311fef diff --git a/tests/cases/user/puppeteer/puppeteer b/tests/cases/user/puppeteer/puppeteer index b6b29502eb6a7..498492d4a3c63 160000 --- a/tests/cases/user/puppeteer/puppeteer +++ b/tests/cases/user/puppeteer/puppeteer @@ -1 +1 @@ -Subproject commit b6b29502eb6a75fe3869806f0e7b27195fe51b0d +Subproject commit 498492d4a3c63924e3325cf2d9f9d27d920c73a4 diff --git a/tests/cases/user/webpack/webpack b/tests/cases/user/webpack/webpack index 743ae6da9a6fc..8748eee7f8d65 160000 --- a/tests/cases/user/webpack/webpack +++ b/tests/cases/user/webpack/webpack @@ -1 +1 @@ -Subproject commit 743ae6da9a6fc3b459a7ab3bb250fb07d14f9c5d +Subproject commit 8748eee7f8d65bc5eb62ed74a9db82c5d8518b6e