From f0bf85b318bbbc0eef720feefb4acc7a60568782 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Mon, 22 Jun 2020 04:28:40 +0000 Subject: [PATCH 1/2] Update user baselines --- tests/baselines/reference/docker/vue-next.log | 10 +- .../user/TypeScript-React-Native-Starter.log | 2 +- .../user/TypeScript-WeChat-Starter.log | 2 +- tests/baselines/reference/user/acorn.log | 2 +- .../reference/user/adonis-framework.log | 2 +- tests/baselines/reference/user/assert.log | 2 +- tests/baselines/reference/user/async.log | 2 +- tests/baselines/reference/user/axios-src.log | 2 +- tests/baselines/reference/user/bcryptjs.log | 2 +- tests/baselines/reference/user/bluebird.log | 2 +- .../user/chrome-devtools-frontend.log | 4 +- tests/baselines/reference/user/clone.log | 2 +- .../reference/user/create-react-app.log | 2 +- tests/baselines/reference/user/debug.log | 2 +- tests/baselines/reference/user/discord.js.log | 2 +- .../reference/user/enhanced-resolve.log | 2 +- .../reference/user/follow-redirects.log | 2 +- .../baselines/reference/user/graceful-fs.log | 2 +- tests/baselines/reference/user/lodash.log | 2 +- tests/baselines/reference/user/minimatch.log | 2 +- tests/baselines/reference/user/npm.log | 2 +- tests/baselines/reference/user/npmlog.log | 2 +- tests/baselines/reference/user/prettier.log | 2 +- tests/baselines/reference/user/uglify-js.log | 212 +++++++++--------- .../reference/user/url-search-params.log | 2 +- tests/baselines/reference/user/util.log | 2 +- tests/baselines/reference/user/webpack.log | 8 + tests/baselines/reference/user/zone.js.log | 2 +- 28 files changed, 145 insertions(+), 137 deletions(-) create mode 100644 tests/baselines/reference/user/webpack.log diff --git a/tests/baselines/reference/docker/vue-next.log b/tests/baselines/reference/docker/vue-next.log index a5eae55b1b889..38945e095e47e 100644 --- a/tests/baselines/reference/docker/vue-next.log +++ b/tests/baselines/reference/docker/vue-next.log @@ -115,18 +115,18 @@ Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:77:5 - (TS7 packages/runtime-core/src/apiInject.ts Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS2360: The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'. at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:213:30) - at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:17117:12) - at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17911:24) - at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17290:38) + at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:17141:12) + at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17933:24) + at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17314: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 forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14) at _.each (/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) -(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1 (EPERM): rollup -c --environment COMMIT:cf2f278,NODE_ENV:production,TARGET:runtime-core,TYPES:true +(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:06569a1,NODE_ENV:production,TARGET:runtime-core,TYPES:true at makeError (/vue-next/node_modules/execa/lib/error.js:59:11) - at handlePromise (/vue-next/node_modules/execa/index.js:112:26) + at handlePromise (/vue-next/node_modules/execa/index.js:114:26) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async build (/vue-next/scripts/build.js:71:3) at async buildAll (/vue-next/scripts/build.js:50:5) diff --git a/tests/baselines/reference/user/TypeScript-React-Native-Starter.log b/tests/baselines/reference/user/TypeScript-React-Native-Starter.log index 4b04501e4ac39..56134555a63d0 100644 --- a/tests/baselines/reference/user/TypeScript-React-Native-Starter.log +++ b/tests/baselines/reference/user/TypeScript-React-Native-Starter.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: node_modules/@types/react-native/index.d.ts(8745,18): error TS2717: Subsequent property declarations must have the same type. Property 'geolocation' must be of type 'Geolocation', but here has type 'GeolocationStatic'. diff --git a/tests/baselines/reference/user/TypeScript-WeChat-Starter.log b/tests/baselines/reference/user/TypeScript-WeChat-Starter.log index a9aacbda5d62c..e950821e07b4f 100644 --- a/tests/baselines/reference/user/TypeScript-WeChat-Starter.log +++ b/tests/baselines/reference/user/TypeScript-WeChat-Starter.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: node_modules/@types/connect/index.d.ts(21,42): error TS2689: Cannot extend an interface 'http.IncomingMessage'. Did you mean 'implements'? diff --git a/tests/baselines/reference/user/acorn.log b/tests/baselines/reference/user/acorn.log index 36cafdeb5b99f..15079c01a0cae 100644 --- a/tests/baselines/reference/user/acorn.log +++ b/tests/baselines/reference/user/acorn.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: 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'. diff --git a/tests/baselines/reference/user/adonis-framework.log b/tests/baselines/reference/user/adonis-framework.log index 597644c7e6fcc..8ec9a7657d4bb 100644 --- a/tests/baselines/reference/user/adonis-framework.log +++ b/tests/baselines/reference/user/adonis-framework.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: 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. diff --git a/tests/baselines/reference/user/assert.log b/tests/baselines/reference/user/assert.log index ce8e6cc19d06e..16105bf5352a1 100644 --- a/tests/baselines/reference/user/assert.log +++ b/tests/baselines/reference/user/assert.log @@ -1,4 +1,4 @@ -Exit Code: 1 +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 @types/jest` or `npm i @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 f6ed5f49f1d25..87937f08addf7 100644 --- a/tests/baselines/reference/user/async.log +++ b/tests/baselines/reference/user/async.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: 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. diff --git a/tests/baselines/reference/user/axios-src.log b/tests/baselines/reference/user/axios-src.log index 1e90da234e725..febddae6ca75d 100644 --- a/tests/baselines/reference/user/axios-src.log +++ b/tests/baselines/reference/user/axios-src.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: 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(84,22): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'. diff --git a/tests/baselines/reference/user/bcryptjs.log b/tests/baselines/reference/user/bcryptjs.log index ce69f762b8c82..11e3f3638be44 100644 --- a/tests/baselines/reference/user/bcryptjs.log +++ b/tests/baselines/reference/user/bcryptjs.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: 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; }'. diff --git a/tests/baselines/reference/user/bluebird.log b/tests/baselines/reference/user/bluebird.log index 76a5a834bc8a1..96d6c47f2b382 100644 --- a/tests/baselines/reference/user/bluebird.log +++ b/tests/baselines/reference/user/bluebird.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: 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. diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index 84d631831f062..908e5343cadef 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -1,6 +1,6 @@ -Exit Code: 1 +Exit Code: 2 Standard output: -../../../../built/local/lib.es5.d.ts(1433,11): error TS2300: Duplicate identifier 'ArrayLike'. +../../../../built/local/lib.es5.d.ts(1451,11): error TS2300: Duplicate identifier 'ArrayLike'. ../../../../node_modules/@types/node/globals.d.ts(167,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{}', but here has type 'NodeModule'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(43,8): error TS2339: Property '_importScriptPathPrefix' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(77,16): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. diff --git a/tests/baselines/reference/user/clone.log b/tests/baselines/reference/user/clone.log index 1aa3a2c2fe532..674dc96044275 100644 --- a/tests/baselines/reference/user/clone.log +++ b/tests/baselines/reference/user/clone.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: 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'. diff --git a/tests/baselines/reference/user/create-react-app.log b/tests/baselines/reference/user/create-react-app.log index 3394f11fac602..3878f2a1b99b4 100644 --- a/tests/baselines/reference/user/create-react-app.log +++ b/tests/baselines/reference/user/create-react-app.log @@ -1,4 +1,4 @@ -Exit Code: 1 +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. diff --git a/tests/baselines/reference/user/debug.log b/tests/baselines/reference/user/debug.log index f1941c2d305cb..df08d1fadc9be 100644 --- a/tests/baselines/reference/user/debug.log +++ b/tests/baselines/reference/user/debug.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: node_modules/debug/dist/debug.js(3,100): error TS2539: Cannot assign to '_typeof' because it is not a variable. node_modules/debug/dist/debug.js(3,165): error TS2539: Cannot assign to '_typeof' because it is not a variable. diff --git a/tests/baselines/reference/user/discord.js.log b/tests/baselines/reference/user/discord.js.log index 66c4ff73cf83e..07aa7fd825986 100644 --- a/tests/baselines/reference/user/discord.js.log +++ b/tests/baselines/reference/user/discord.js.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: node_modules/discord.js/typings/index.d.ts(18,30): error TS7016: Could not find a declaration file for module 'ws'. '../../../tests/cases/user/discord.js/node_modules/ws/index.js' implicitly has an 'any' type. Try `npm install @types/ws` if it exists or add a new declaration (.d.ts) file containing `declare module 'ws';` diff --git a/tests/baselines/reference/user/enhanced-resolve.log b/tests/baselines/reference/user/enhanced-resolve.log index 5e221a039b24d..b3c6f9f821216 100644 --- a/tests/baselines/reference/user/enhanced-resolve.log +++ b/tests/baselines/reference/user/enhanced-resolve.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: 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'. diff --git a/tests/baselines/reference/user/follow-redirects.log b/tests/baselines/reference/user/follow-redirects.log index 7e26528097a4b..091f14a9f1133 100644 --- a/tests/baselines/reference/user/follow-redirects.log +++ b/tests/baselines/reference/user/follow-redirects.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: node_modules/follow-redirects/index.js(68,11): error TS2554: Expected 1 arguments, but got 0. node_modules/follow-redirects/index.js(96,10): error TS2339: Property 'emit' 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 df34f0ff9b7bd..2f13f9cacb491 100644 --- a/tests/baselines/reference/user/graceful-fs.log +++ b/tests/baselines/reference/user/graceful-fs.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: node_modules/graceful-fs/clone.js(12,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(15,38): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. diff --git a/tests/baselines/reference/user/lodash.log b/tests/baselines/reference/user/lodash.log index 822a8cb811cc2..292f3e5b4e850 100644 --- a/tests/baselines/reference/user/lodash.log +++ b/tests/baselines/reference/user/lodash.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: 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'. diff --git a/tests/baselines/reference/user/minimatch.log b/tests/baselines/reference/user/minimatch.log index fcddf77d65033..4212ec6aecfb4 100644 --- a/tests/baselines/reference/user/minimatch.log +++ b/tests/baselines/reference/user/minimatch.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: 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(410,15): error TS2532: Object is possibly 'undefined'. diff --git a/tests/baselines/reference/user/npm.log b/tests/baselines/reference/user/npm.log index 03e5111d4d2c1..7dc0ac0d37259 100644 --- a/tests/baselines/reference/user/npm.log +++ b/tests/baselines/reference/user/npm.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: node_modules/npm/bin/npm-cli.js(6,13): error TS2551: Property 'echo' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; ... 13 more ...; Sleep(intTime: number): void; }'. Did you mean 'Echo'? node_modules/npm/bin/npm-cli.js(13,13): error TS2551: Property 'quit' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; ... 13 more ...; Sleep(intTime: number): void; }'. Did you mean 'Quit'? diff --git a/tests/baselines/reference/user/npmlog.log b/tests/baselines/reference/user/npmlog.log index 483c60b1940e0..048b02229cba5 100644 --- a/tests/baselines/reference/user/npmlog.log +++ b/tests/baselines/reference/user/npmlog.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: node_modules/npmlog/log.js(83,12): error TS2551: Property '_pause' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'? node_modules/npmlog/log.js(149,8): error TS2551: Property '_paused' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'? diff --git a/tests/baselines/reference/user/prettier.log b/tests/baselines/reference/user/prettier.log index 0b0a30fb8b764..92da1d389651e 100644 --- a/tests/baselines/reference/user/prettier.log +++ b/tests/baselines/reference/user/prettier.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: src/main/comments.js(325,5): error TS2775: Assertions require every name in the call target to be declared with an explicit type annotation. src/main/comments.js(326,5): error TS2775: Assertions require every name in the call target to be declared with an explicit type annotation. diff --git a/tests/baselines/reference/user/uglify-js.log b/tests/baselines/reference/user/uglify-js.log index 4b1f361767ff7..b7b8a983c5654 100644 --- a/tests/baselines/reference/user/uglify-js.log +++ b/tests/baselines/reference/user/uglify-js.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: node_modules/uglify-js/lib/ast.js(97,35): error TS2554: Expected 2 arguments, but got 1. node_modules/uglify-js/lib/ast.js(276,38): error TS2554: Expected 0 arguments, but got 1. @@ -16,120 +16,120 @@ node_modules/uglify-js/lib/ast.js(1232,29): error TS2339: Property 'parent' does node_modules/uglify-js/lib/compress.js(163,24): error TS2554: Expected 2 arguments, but got 0. node_modules/uglify-js/lib/compress.js(188,42): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/compress.js(248,18): error TS2554: Expected 2 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(549,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(725,40): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(927,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(932,12): error TS2339: Property 'assigns' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(934,12): error TS2339: Property 'defun_ids' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(935,12): error TS2339: Property 'defun_visited' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(937,12): error TS2339: Property 'in_loop' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(938,12): error TS2339: Property 'loop_ids' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(943,12): error TS2339: Property 'safe_ids' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1209,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1224,51): error TS2349: This expression is not callable. +node_modules/uglify-js/lib/compress.js(557,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(756,40): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(961,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(966,12): error TS2339: Property 'defun_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(967,12): error TS2339: Property 'defun_visited' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(969,12): error TS2339: Property 'in_loop' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(970,12): error TS2339: Property 'loop_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(975,12): error TS2339: Property 'safe_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1242,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1257,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(1299,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1320,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1366,112): error TS2454: Variable 'args' is used before being assigned. -node_modules/uglify-js/lib/compress.js(1367,29): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(1392,33): error TS2322: Type 'boolean' is not assignable to type 'number'. -node_modules/uglify-js/lib/compress.js(1394,29): error TS2322: Type 'boolean' is not assignable to type 'never'. -node_modules/uglify-js/lib/compress.js(1542,53): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1658,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1682,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1697,46): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1728,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1760,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1776,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1854,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1874,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1903,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2033,49): 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(1332,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1353,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1399,112): error TS2454: Variable 'args' is used before being assigned. +node_modules/uglify-js/lib/compress.js(1400,29): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(1425,33): error TS2322: Type 'boolean' is not assignable to type 'number'. +node_modules/uglify-js/lib/compress.js(1427,29): error TS2322: Type 'boolean' is not assignable to type 'never'. +node_modules/uglify-js/lib/compress.js(1575,53): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1691,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1715,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1730,46): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1761,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1793,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1809,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1887,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1907,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1936,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2066,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. Type 'number[]' is missing the following properties from type '[start: number, deleteCount: number, ...items: never[]]': 0, 1 -node_modules/uglify-js/lib/compress.js(2366,59): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2404,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(2399,59): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2437,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. Type 'any[]' is missing the following properties from type '[start: number, deleteCount: number, ...items: never[]]': 0, 1 -node_modules/uglify-js/lib/compress.js(2439,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(2595,39): error TS2554: Expected 2 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2618,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3063,35): error TS2554: Expected 2 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3258,44): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3443,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. -node_modules/uglify-js/lib/compress.js(3444,25): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(3444,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(3444,56): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(3485,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3563,48): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3581,33): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(3997,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4023,29): error TS2322: Type '"f"' is not assignable to type 'boolean'. -node_modules/uglify-js/lib/compress.js(4206,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4207,74): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(4258,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4278,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(4387,63): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4443,52): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(2472,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(2628,39): error TS2554: Expected 2 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2651,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3096,35): error TS2554: Expected 2 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3291,44): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3512,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. +node_modules/uglify-js/lib/compress.js(3513,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(3513,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(3513,56): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(3530,48): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3628,48): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3646,33): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(4066,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4092,29): error TS2322: Type '"f"' is not assignable to type 'boolean'. +node_modules/uglify-js/lib/compress.js(4275,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4276,74): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(4327,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4374,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(4538,52): 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(4544,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(4682,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4696,18): error TS2554: Expected 2 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4703,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(4713,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(4798,32): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4915,24): error TS2554: Expected 2 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4976,24): error TS2554: Expected 2 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5041,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead. -node_modules/uglify-js/lib/compress.js(5159,23): error TS2454: Variable 'exprs' is used before being assigned. -node_modules/uglify-js/lib/compress.js(5160,20): error TS2454: Variable 'exprs' is used before being assigned. -node_modules/uglify-js/lib/compress.js(5251,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5253,55): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(5257,56): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(5258,12): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(5343,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(5358,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(5468,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5470,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(5635,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(5778,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5838,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(6034,57): 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(4639,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(4771,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4785,18): error TS2554: Expected 2 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4792,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(4802,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(4887,32): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5004,24): error TS2554: Expected 2 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5065,24): error TS2554: Expected 2 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5133,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead. +node_modules/uglify-js/lib/compress.js(5260,23): error TS2454: Variable 'exprs' is used before being assigned. +node_modules/uglify-js/lib/compress.js(5261,20): error TS2454: Variable 'exprs' is used before being assigned. +node_modules/uglify-js/lib/compress.js(5353,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5355,55): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(5359,56): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(5360,12): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(5445,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(5460,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(5570,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5572,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(5737,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(5880,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5940,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(6136,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[pattern: string | RegExp, flags?: string | undefined]'. Property '0' is missing in type 'any[]' but required in type '[pattern: string | RegExp, flags?: string | undefined]'. -node_modules/uglify-js/lib/compress.js(6192,32): error TS2554: Expected 2 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6198,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6205,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; indentation: () => number; current_width: () => number; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; ... 23 more ...; parent: (n: any) => any; }'. -node_modules/uglify-js/lib/compress.js(6209,36): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(6214,41): error TS2339: Property 'get' does not exist on type 'string'. -node_modules/uglify-js/lib/compress.js(6251,59): error TS2554: Expected 2 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6363,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6367,21): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(6374,25): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(6383,25): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(6395,32): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(6399,27): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(6618,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6889,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. -node_modules/uglify-js/lib/compress.js(7520,29): error TS2367: This condition will always return 'false' since the types 'boolean' and 'string' have no overlap. -node_modules/uglify-js/lib/compress.js(7564,47): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7586,66): error TS2554: Expected 2 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7656,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7728,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7734,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7737,41): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(8310,43): error TS2454: Variable 'property' is used before being assigned. -node_modules/uglify-js/lib/compress.js(8325,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(8328,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. -node_modules/uglify-js/lib/compress.js(8334,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(8367,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6294,32): error TS2554: Expected 2 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6300,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6307,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; indentation: () => number; current_width: () => number; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; ... 23 more ...; parent: (n: any) => any; }'. +node_modules/uglify-js/lib/compress.js(6311,36): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(6316,41): error TS2339: Property 'get' does not exist on type 'string'. +node_modules/uglify-js/lib/compress.js(6355,59): error TS2554: Expected 2 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6473,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6477,21): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(6484,25): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(6493,25): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(6509,32): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(6513,27): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(6732,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7008,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. +node_modules/uglify-js/lib/compress.js(7635,29): error TS2367: This condition will always return 'false' since the types 'boolean' and 'string' have no overlap. +node_modules/uglify-js/lib/compress.js(7679,47): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7701,66): error TS2554: Expected 2 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7769,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7841,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7847,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7850,41): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(8402,22): 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(8402,63): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(8436,43): error TS2454: Variable 'property' is used before being assigned. +node_modules/uglify-js/lib/compress.js(8452,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(8455,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. +node_modules/uglify-js/lib/compress.js(8460,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(8498,34): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/minify.js(187,42): error TS2554: Expected 2 arguments, but got 1. node_modules/uglify-js/lib/minify.js(187,75): error TS2339: Property 'compress' does not exist on type 'Compressor'. node_modules/uglify-js/lib/mozilla-ast.js(576,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/output.js(459,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/output.js(460,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/output.js(475,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/output.js(749,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/output.js(1153,44): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/output.js(1442,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/output.js(460,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/output.js(461,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/output.js(476,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/output.js(750,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/output.js(1154,44): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/output.js(1443,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(354,20): 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(433,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. diff --git a/tests/baselines/reference/user/url-search-params.log b/tests/baselines/reference/user/url-search-params.log index 8c992c3809b33..cdfcbec57706e 100644 --- a/tests/baselines/reference/user/url-search-params.log +++ b/tests/baselines/reference/user/url-search-params.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: node_modules/url-search-params/build/url-search-params.node.js(174,1): error TS2539: Cannot assign to 'URLSearchParams' because it is not a variable. diff --git a/tests/baselines/reference/user/util.log b/tests/baselines/reference/user/util.log index 5ede8516f9d51..ceaeefebaacb3 100644 --- a/tests/baselines/reference/user/util.log +++ b/tests/baselines/reference/user/util.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: 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. diff --git a/tests/baselines/reference/user/webpack.log b/tests/baselines/reference/user/webpack.log new file mode 100644 index 0000000000000..0c2300962f61c --- /dev/null +++ b/tests/baselines/reference/user/webpack.log @@ -0,0 +1,8 @@ +Exit Code: 2 +Standard output: +lib/ContextModule.js(352,32): error TS2345: Argument of type 'Pick' is not assignable to parameter of type 'ContextOptions & ContextModuleOptionsExtras'. + Property 'resolveOptions' is missing in type 'Pick' but required in type 'ContextModuleOptionsExtras'. + + + +Standard error: diff --git a/tests/baselines/reference/user/zone.js.log b/tests/baselines/reference/user/zone.js.log index f8582b0755bc7..5a44ad9091823 100644 --- a/tests/baselines/reference/user/zone.js.log +++ b/tests/baselines/reference/user/zone.js.log @@ -1,4 +1,4 @@ -Exit Code: 1 +Exit Code: 2 Standard output: ../../../../node_modules/@types/node/ts3.5/globals.global.d.ts(1,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'global' must be of type 'Global', but here has type 'Global & typeof globalThis'. From 1021df7de88959f13976bad5b739445bc1d9e369 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Mon, 22 Jun 2020 15:26:27 +0000 Subject: [PATCH 2/2] Update user baselines --- tests/baselines/reference/docker/vue-next.log | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/baselines/reference/docker/vue-next.log b/tests/baselines/reference/docker/vue-next.log index 38945e095e47e..5db688ecea7d2 100644 --- a/tests/baselines/reference/docker/vue-next.log +++ b/tests/baselines/reference/docker/vue-next.log @@ -114,17 +114,17 @@ Warning: /vue-next/packages/runtime-dom/src/components/Transition.ts:77:5 - (TS7 [!] (plugin rpt2) Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS2360: The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'. packages/runtime-core/src/apiInject.ts Error: /vue-next/packages/runtime-core/src/apiInject.ts(40,9): semantic error TS2360: The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'. - at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:213:30) - at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:17141:12) - at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17933:24) - at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17314:38) + at error (/vue-next/node_modules/rollup/dist/shared/rollup.js:5154:30) + at throwPluginError (/vue-next/node_modules/rollup/dist/shared/rollup.js:17381:12) + at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:18002:24) + at Object.error (/vue-next/node_modules/rollup/dist/shared/rollup.js:17554: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 forEach (/vue-next/node_modules/rollup-plugin-typescript2/node_modules/lodash/lodash.js:9342:14) at _.each (/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) -(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:06569a1,NODE_ENV:production,TARGET:runtime-core,TYPES:true +(node:17) UnhandledPromiseRejectionWarning: Error: Command failed with exit code 1: rollup -c --environment COMMIT:ca137db,NODE_ENV:production,TARGET:runtime-core,TYPES:true at makeError (/vue-next/node_modules/execa/lib/error.js:59:11) at handlePromise (/vue-next/node_modules/execa/index.js:114:26) at processTicksAndRejections (internal/process/task_queues.js:97:5)