From aa13d54f4999a14f0dccb202e45329f1846287b3 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Wed, 16 Dec 2020 21:45:35 +0000 Subject: [PATCH 1/2] Update user baselines +cc @sandersn --- .../user/TypeScript-Node-Starter.log | 46 +- .../user/TypeScript-WeChat-Starter.log | 7 +- .../reference/user/adonis-framework.log | 18 +- tests/baselines/reference/user/axios-src.log | 25 +- tests/baselines/reference/user/bcryptjs.log | 2 +- .../user/chrome-devtools-frontend.log | 2 - tests/baselines/reference/user/debug.log | 43 -- tests/baselines/reference/user/discord.js.log | 12 +- .../reference/user/follow-redirects.log | 2 +- tests/baselines/reference/user/formik.log | 13 - tests/baselines/reference/user/fp-ts.log | 10 + tests/baselines/reference/user/npm.log | 7 +- tests/baselines/reference/user/uglify-js.log | 407 +++++++++--------- tests/baselines/reference/user/webpack.log | 68 +-- 14 files changed, 298 insertions(+), 364 deletions(-) delete mode 100644 tests/baselines/reference/user/formik.log create mode 100644 tests/baselines/reference/user/fp-ts.log diff --git a/tests/baselines/reference/user/TypeScript-Node-Starter.log b/tests/baselines/reference/user/TypeScript-Node-Starter.log index 3402e302067f7..256dac0bbd2a5 100644 --- a/tests/baselines/reference/user/TypeScript-Node-Starter.log +++ b/tests/baselines/reference/user/TypeScript-Node-Starter.log @@ -3,14 +3,44 @@ Standard output: node_modules/connect-mongo/src/types.d.ts(113,66): error TS2694: Namespace 'Express' has no exported member 'SessionData'. node_modules/connect-mongo/src/types.d.ts(114,45): error TS2694: Namespace 'Express' has no exported member 'SessionData'. node_modules/connect-mongo/src/types.d.ts(118,47): error TS2694: Namespace 'Express' has no exported member 'SessionData'. -src/app.ts(72,21): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'. - Property 'returnTo' does not exist on type 'Session'. -src/app.ts(75,21): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'. - Property 'returnTo' does not exist on type 'Session'. -src/app.ts(116,30): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'. - Property 'returnTo' does not exist on type 'Session'. -src/controllers/user.ts(51,38): error TS2339: Property 'returnTo' does not exist on type 'Session | InitializedSession'. - Property 'returnTo' does not exist on type 'Session'. +src/app.ts(72,21): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial'. +src/app.ts(75,21): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial'. +src/app.ts(116,30): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial'. +src/config/passport.ts(18,24): error TS7006: Parameter 'err' implicitly has an 'any' type. +src/config/passport.ts(18,29): error TS7006: Parameter 'user' implicitly has an 'any' type. +src/config/passport.ts(28,51): error TS7006: Parameter 'err' implicitly has an 'any' type. +src/config/passport.ts(71,49): error TS7006: Parameter 'err' implicitly has an 'any' type. +src/config/passport.ts(71,54): error TS7006: Parameter 'existingUser' implicitly has an 'any' type. +src/config/passport.ts(77,45): error TS7006: Parameter 'err' implicitly has an 'any' type. +src/config/passport.ts(92,49): error TS7006: Parameter 'err' implicitly has an 'any' type. +src/config/passport.ts(92,54): error TS7006: Parameter 'existingUser' implicitly has an 'any' type. +src/config/passport.ts(97,59): error TS7006: Parameter 'err' implicitly has an 'any' type. +src/config/passport.ts(97,64): error TS7006: Parameter 'existingEmailUser' implicitly has an 'any' type. +src/controllers/user.ts(51,38): error TS2339: Property 'returnTo' does not exist on type 'Session & Partial'. +src/controllers/user.ts(101,46): error TS7006: Parameter 'err' implicitly has an 'any' type. +src/controllers/user.ts(101,51): error TS7006: Parameter 'existingUser' implicitly has an 'any' type. +src/controllers/user.ts(146,29): error TS7006: Parameter 'err' implicitly has an 'any' type. +src/controllers/user.ts(153,19): error TS2769: No overload matches this call. + Overload 1 of 3, '(options?: SaveOptions): Promise', gave the following error. + Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'. + Overload 2 of 3, '(options?: SaveOptions, fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error. + Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'. + Overload 3 of 3, '(fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error. + Argument of type '(err: WriteError) => void' is not assignable to parameter of type '(err: NativeError, doc: UserDocument) => void'. + Types of parameters 'err' and 'err' are incompatible. + Type 'NativeError' is missing the following properties from type 'WriteError': code, index, errmsg +src/controllers/user.ts(183,29): error TS7006: Parameter 'err' implicitly has an 'any' type. +src/controllers/user.ts(186,19): error TS2769: No overload matches this call. + Overload 1 of 3, '(options?: SaveOptions): Promise', gave the following error. + Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'. + Overload 2 of 3, '(options?: SaveOptions, fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error. + Type '(err: WriteError) => void' has no properties in common with type 'SaveOptions'. + Overload 3 of 3, '(fn?: (err: NativeError, doc: UserDocument) => void): void', gave the following error. + Argument of type '(err: WriteError) => void' is not assignable to parameter of type '(err: NativeError, doc: UserDocument) => void'. + Types of parameters 'err' and 'err' are incompatible. + Type 'NativeError' is not assignable to type 'WriteError'. +src/controllers/user.ts(215,29): error TS7006: Parameter 'err' implicitly has an 'any' type. +src/controllers/user.ts(349,54): error TS7006: Parameter 'err' implicitly has an 'any' type. diff --git a/tests/baselines/reference/user/TypeScript-WeChat-Starter.log b/tests/baselines/reference/user/TypeScript-WeChat-Starter.log index ffbea15477bbf..04c1a1db03d35 100644 --- a/tests/baselines/reference/user/TypeScript-WeChat-Starter.log +++ b/tests/baselines/reference/user/TypeScript-WeChat-Starter.log @@ -1,11 +1,6 @@ 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'? -node_modules/@types/serve-static/index.d.ts(18,45): error TS2694: Namespace '"http"' has no exported member 'OutgoingMessage'. -node_modules/@types/serve-static/index.d.ts(25,49): error TS2694: Namespace '"http"' has no exported member 'OutgoingMessage'. -node_modules/@types/serve-static/index.d.ts(25,72): error TS2694: Namespace '"http"' has no exported member 'OutgoingMessage'. -node_modules/@types/serve-static/index.d.ts(98,45): error TS2694: Namespace '"http"' has no exported member 'OutgoingMessage'. -node_modules/@types/serve-static/index.d.ts(102,56): error TS2694: Namespace '"http"' has no exported member 'OutgoingMessage'. +node_modules/@types/connect/index.d.ts(20,42): error TS2689: Cannot extend an interface 'http.IncomingMessage'. Did you mean 'implements'? diff --git a/tests/baselines/reference/user/adonis-framework.log b/tests/baselines/reference/user/adonis-framework.log index 29ca20938d17a..4e2d0d51eed42 100644 --- a/tests/baselines/reference/user/adonis-framework.log +++ b/tests/baselines/reference/user/adonis-framework.log @@ -35,19 +35,19 @@ node_modules/adonis-framework/src/Config/index.js(39,15): error TS2304: Cannot f node_modules/adonis-framework/src/Config/index.js(58,15): error TS2304: Cannot find name 'Mixed'. node_modules/adonis-framework/src/Encryption/index.js(53,15): error TS2304: Cannot find name 'Mixed'. node_modules/adonis-framework/src/Encryption/index.js(71,34): error TS2769: No overload matches this call. - Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: HexBase64BinaryEncoding): string', gave the following error. + Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: BinaryToTextEncoding): string', gave the following error. Argument of type 'string' is not assignable to parameter of type 'undefined'. - Overload 2 of 4, '(data: string, input_encoding: "utf8" | "ascii" | "binary" | undefined, output_encoding: HexBase64BinaryEncoding): string', gave the following error. - Argument of type 'string' is not assignable to parameter of type '"utf8" | "ascii" | "binary" | undefined'. + Overload 2 of 4, '(data: string, input_encoding: "utf8" | "ascii" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined, output_encoding: BinaryToTextEncoding): string', gave the following error. + Argument of type 'string' is not assignable to parameter of type '"utf8" | "ascii" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined'. node_modules/adonis-framework/src/Encryption/index.js(77,27): error TS2322: Type 'string' is not assignable to type 'Buffer'. node_modules/adonis-framework/src/Encryption/index.js(77,50): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/adonis-framework/src/Encryption/index.js(85,23): error TS8024: JSDoc '@param' tag has name 'value', but there is no parameter with that name. node_modules/adonis-framework/src/Encryption/index.js(87,15): error TS2304: Cannot find name 'Mixed'. -node_modules/adonis-framework/src/Encryption/index.js(101,62): error TS2769: No overload matches this call. - Overload 1 of 4, '(data: ArrayBufferView, input_encoding: "base64" | "binary" | "hex" | undefined, output_encoding: Utf8AsciiBinaryEncoding): string', gave the following error. - Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'. - Overload 2 of 4, '(data: string, input_encoding: "base64" | "binary" | "hex" | undefined, output_encoding: Utf8AsciiBinaryEncoding): string', gave the following error. - Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'. +node_modules/adonis-framework/src/Encryption/index.js(101,21): error TS2769: No overload matches this call. + Overload 1 of 4, '(data: ArrayBufferView, input_encoding: undefined, output_encoding: BufferEncoding): string', gave the following error. + Argument of type '"base64"' is not assignable to parameter of type 'undefined'. + Overload 2 of 4, '(data: string, input_encoding: "base64" | "hex" | undefined, output_encoding: BufferEncoding): string', gave the following error. + Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'. node_modules/adonis-framework/src/Encryption/index.js(102,5): error TS2322: Type 'string' is not assignable to type 'Buffer & string'. Type 'string' is not assignable to type 'Buffer'. node_modules/adonis-framework/src/Encryption/index.js(102,33): error TS2345: Argument of type 'string' is not assignable to parameter of type 'BufferEncoding'. @@ -125,7 +125,7 @@ node_modules/adonis-framework/src/Request/index.js(466,15): error TS2304: Cannot node_modules/adonis-framework/src/Request/index.js(468,15): error TS2304: Cannot find name 'Mixed'. node_modules/adonis-framework/src/Request/index.js(480,14): error TS2304: Cannot find name 'Mixed'. node_modules/adonis-framework/src/Request/index.js(482,15): error TS2304: Cannot find name 'Mixed'. -node_modules/adonis-framework/src/Request/index.js(499,17): error TS2551: Property '_params' does not exist on type 'Request'. Did you mean 'param'? +node_modules/adonis-framework/src/Request/index.js(499,17): error TS2551: Property '_params' does not exist on type 'Request'. Did you mean 'params'? node_modules/adonis-framework/src/Request/index.js(523,15): error TS2304: Cannot find name 'Objecr'. node_modules/adonis-framework/src/Request/index.js(572,23): error TS8029: JSDoc '@param' tag has name 'pattern', but there is no parameter with that name. It would match 'arguments' if it had an array type. node_modules/adonis-framework/src/Request/index.js(600,17): error TS2554: Expected 2 arguments, but got 1. diff --git a/tests/baselines/reference/user/axios-src.log b/tests/baselines/reference/user/axios-src.log index 6c9b9a57adf2d..83b628fd48844 100644 --- a/tests/baselines/reference/user/axios-src.log +++ b/tests/baselines/reference/user/axios-src.log @@ -1,17 +1,20 @@ 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'. +lib/adapters/http.js(22,12): error TS2304: Cannot find name 'AxiosProxyConfig'. +lib/adapters/http.js(34,5): error TS2532: Object is possibly 'undefined'. +lib/adapters/http.js(38,11): error TS2339: Property 'beforeRedirect' does not exist on type 'ClientRequestArgs'. +lib/adapters/http.js(109,22): error TS2345: Argument of type 'string | null' is not assignable to parameter of type 'string'. Type 'null' is not assignable to type 'string'. -lib/adapters/http.js(121,17): error TS2531: Object is possibly 'null'. -lib/adapters/http.js(121,40): error TS2531: Object is possibly 'null'. -lib/adapters/http.js(225,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. -lib/adapters/http.js(231,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. -lib/adapters/http.js(237,13): error TS2322: Type 'string' is not assignable to type 'Buffer'. -lib/adapters/http.js(239,15): error TS2322: Type 'string' is not assignable to type 'Buffer'. -lib/adapters/http.js(239,45): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -lib/adapters/http.js(252,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. -lib/adapters/http.js(281,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. +lib/adapters/http.js(146,17): error TS2531: Object is possibly 'null'. +lib/adapters/http.js(146,40): error TS2531: Object is possibly 'null'. +lib/adapters/http.js(241,23): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. +lib/adapters/http.js(247,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. +lib/adapters/http.js(253,13): error TS2322: Type 'string' is not assignable to type 'Buffer'. +lib/adapters/http.js(255,15): error TS2322: Type 'string' is not assignable to type 'Buffer'. +lib/adapters/http.js(255,45): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. +lib/adapters/http.js(268,40): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. +lib/adapters/http.js(297,42): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. lib/adapters/xhr.js(65,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'. lib/adapters/xhr.js(77,7): error TS2322: Type 'null' is not assignable to type 'XMLHttpRequest'. lib/adapters/xhr.js(84,51): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. @@ -49,7 +52,7 @@ lib/core/enhanceError.js(38,18): error TS2339: Property 'code' does not exist on lib/core/settle.js(20,7): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string | undefined'. lib/helpers/buildURL.js(22,49): error TS1016: A required parameter cannot follow an optional parameter. lib/helpers/cookies.js(16,56): error TS2551: Property 'toGMTString' does not exist on type 'Date'. Did you mean 'toUTCString'? -lib/utils.js(273,20): error TS8029: JSDoc '@param' tag has name 'obj1', but there is no parameter with that name. It would match 'arguments' if it had an array type. +lib/utils.js(271,20): error TS8029: JSDoc '@param' tag has name 'obj1', but there is no parameter with that name. It would match 'arguments' if it had an array type. diff --git a/tests/baselines/reference/user/bcryptjs.log b/tests/baselines/reference/user/bcryptjs.log index 11e3f3638be44..9f9c929d985c2 100644 --- a/tests/baselines/reference/user/bcryptjs.log +++ b/tests/baselines/reference/user/bcryptjs.log @@ -28,7 +28,7 @@ node_modules/bcryptjs/src/bcrypt/util.js(20,5): error TS2304: Cannot find name ' node_modules/bcryptjs/src/wrap.js(37,26): error TS2304: Cannot find name 'define'. node_modules/bcryptjs/src/wrap.js(37,51): error TS2304: Cannot find name 'define'. node_modules/bcryptjs/src/wrap.js(38,9): error TS2304: Cannot find name 'define'. -node_modules/bcryptjs/src/wrap.js(49,12): error TS2552: Cannot find name 'bcrypt'. Did you mean 'Crypto'? +node_modules/bcryptjs/src/wrap.js(49,12): error TS2552: Cannot find name 'bcrypt'. Did you mean 'crypto'? node_modules/bcryptjs/tests/suite.js(3,23): error TS2307: Cannot find module 'bcrypt' or its corresponding type declarations. diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index 615af100290c1..b8121f8f358ce 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -6084,8 +6084,6 @@ node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUt node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(295,16): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(295,68): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(296,41): error TS2339: Property 'devtoolsFrameworkEventListeners' does not exist on type 'Window & typeof globalThis'. -node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(306,66): error TS2349: This expression is not callable. - Each member of the union type '((callbackfn: (value: any, index: number, array: any[]) => U, thisArg?: any) => U[]) | ((callbackfn: (value: { handler: any; useCapture: boolean; passive: boolean; once: boolean; type: string; }, index: number, array: { ...; }[]) => U, thisArg?: any) => U[])' has signatures, but none of those signatures are compatible with each other. node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(324,5): error TS2741: Property 'internalHandlers' is missing in type '{ eventListeners: any[]; }' but required in type '{ eventListeners: EventListenerObjectInInspectedPage[]; internalHandlers: (() => any)[]; }'. node_modules/chrome-devtools-frontend/front_end/event_listeners/EventListenersUtils.js(371,103): error TS2322: Type '{ type: any; useCapture: any; passive: any; once: any; handler: any; remove: any; }' is not assignable to type 'EventListenerObjectInInspectedPage'. Object literal may only specify known properties, and 'remove' does not exist in type 'EventListenerObjectInInspectedPage'. diff --git a/tests/baselines/reference/user/debug.log b/tests/baselines/reference/user/debug.log index c219a41f1acd3..154651892a6c5 100644 --- a/tests/baselines/reference/user/debug.log +++ b/tests/baselines/reference/user/debug.log @@ -1,48 +1,5 @@ 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. -node_modules/debug/dist/debug.js(8,21): error TS2304: Cannot find name 'define'. -node_modules/debug/dist/debug.js(8,46): error TS2304: Cannot find name 'define'. -node_modules/debug/dist/debug.js(9,5): error TS2304: Cannot find name 'define'. -node_modules/debug/dist/debug.js(33,38): error TS2554: Expected 1 arguments, but got 2. -node_modules/debug/dist/debug.js(34,32): error TS2554: Expected 1 arguments, but got 2. -node_modules/debug/dist/debug.js(36,21): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/debug/dist/debug.js(89,38): error TS2339: Property 'length' does not exist on type 'string | number'. - Property 'length' does not exist on type 'number'. -node_modules/debug/dist/debug.js(90,24): error TS2345: Argument of type 'string | number' is not assignable to parameter of type 'string'. - Type 'number' is not assignable to type 'string'. -node_modules/debug/dist/debug.js(91,47): error TS2345: Argument of type 'string | number' is not assignable to parameter of type 'number'. - Type 'string' is not assignable to type 'number'. -node_modules/debug/dist/debug.js(92,41): error TS2345: Argument of type 'string | number' is not assignable to parameter of type 'number'. - Type 'string' is not assignable to type 'number'. -node_modules/debug/dist/debug.js(92,57): error TS2345: Argument of type 'string | number' is not assignable to parameter of type 'number'. - Type 'string' is not assignable to type 'number'. -node_modules/debug/dist/debug.js(110,11): error TS2322: Type 'undefined' is not assignable to type 'number'. -node_modules/debug/dist/debug.js(116,11): error TS2322: Type 'undefined' is not assignable to type 'number'. -node_modules/debug/dist/debug.js(169,13): error TS2322: Type 'undefined' is not assignable to type 'number'. -node_modules/debug/dist/debug.js(501,30): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. -node_modules/debug/dist/debug.js(501,66): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. -node_modules/debug/dist/debug.js(530,18): error TS2339: Property 'diff' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'. -node_modules/debug/dist/debug.js(531,18): error TS2339: Property 'prev' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'. -node_modules/debug/dist/debug.js(532,18): error TS2339: Property 'curr' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'. -node_modules/debug/dist/debug.js(563,25): error TS2551: Property 'formatArgs' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. Did you mean 'formatters'? -node_modules/debug/dist/debug.js(564,30): error TS2339: Property 'log' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: string | number; destroy: () => boolean; extend: (namespace: any, delimiter: any) => Function; }'. -node_modules/debug/dist/debug.js(564,49): error TS2339: Property 'log' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. -node_modules/debug/dist/debug.js(570,41): error TS2339: Property 'useColors' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. -node_modules/debug/dist/debug.js(577,34): error TS2339: Property 'init' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. -node_modules/debug/dist/debug.js(578,25): error TS2339: Property 'init' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. -node_modules/debug/dist/debug.js(609,23): error TS2339: Property 'save' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. -node_modules/debug/dist/debug.js(680,19): error TS2304: Cannot find name 'Mixed'. -node_modules/debug/dist/debug.js(681,20): error TS2304: Cannot find name 'Mixed'. -node_modules/debug/dist/debug.js(694,40): error TS2339: Property 'load' does not exist on type '{ (namespace: string): Function; debug: ...; default: ...; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; ... 4 more ...; selectColor: (namespace: string) => string | number; }'. -node_modules/debug/dist/debug.js(733,82): error TS2339: Property 'type' does not exist on type 'Process'. -node_modules/debug/dist/debug.js(733,120): error TS2339: Property '__nwjs' does not exist on type 'Process'. -node_modules/debug/dist/debug.js(744,146): error TS2551: Property 'WebkitAppearance' does not exist on type 'CSSStyleDeclaration'. Did you mean 'webkitAppearance'? -node_modules/debug/dist/debug.js(745,78): error TS2339: Property 'firebug' does not exist on type 'Console'. -node_modules/debug/dist/debug.js(745,89): error TS2774: This condition will always return true since the function is always defined. Did you mean to call it instead? -node_modules/debug/dist/debug.js(799,156): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '[message?: any, ...optionalParams: any[]]'. -node_modules/debug/dist/debug.js(851,21): error TS2304: Cannot find name 'LocalStorage'. node_modules/debug/src/browser.js(3,100): error TS2539: Cannot assign to '_typeof' because it is not a variable. node_modules/debug/src/browser.js(3,165): error TS2539: Cannot assign to '_typeof' because it is not a variable. node_modules/debug/src/browser.js(34,74): error TS2339: Property 'type' does not exist on type 'Process'. diff --git a/tests/baselines/reference/user/discord.js.log b/tests/baselines/reference/user/discord.js.log index 0189878cdff4e..53e46907c28d5 100644 --- a/tests/baselines/reference/user/discord.js.log +++ b/tests/baselines/reference/user/discord.js.log @@ -11,12 +11,12 @@ node_modules/discord.js/typings/index.d.ts(133,43): error TS2694: Namespace 'Nod node_modules/discord.js/typings/index.d.ts(135,93): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. node_modules/discord.js/typings/index.d.ts(136,92): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. node_modules/discord.js/typings/index.d.ts(137,79): error TS2694: Namespace 'NodeJS' has no exported member 'Immediate'. -node_modules/discord.js/typings/index.d.ts(282,30): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. -node_modules/discord.js/typings/index.d.ts(283,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. -node_modules/discord.js/typings/index.d.ts(1819,103): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. -node_modules/discord.js/typings/index.d.ts(1821,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. -node_modules/discord.js/typings/index.d.ts(1824,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. -node_modules/discord.js/typings/index.d.ts(3145,21): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. +node_modules/discord.js/typings/index.d.ts(283,30): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. +node_modules/discord.js/typings/index.d.ts(284,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. +node_modules/discord.js/typings/index.d.ts(1805,103): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. +node_modules/discord.js/typings/index.d.ts(1807,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. +node_modules/discord.js/typings/index.d.ts(1810,34): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. +node_modules/discord.js/typings/index.d.ts(3155,21): error TS2694: Namespace 'NodeJS' has no exported member 'Timeout'. diff --git a/tests/baselines/reference/user/follow-redirects.log b/tests/baselines/reference/user/follow-redirects.log index 27e1be3cf166b..8f7b8f82e0909 100644 --- a/tests/baselines/reference/user/follow-redirects.log +++ b/tests/baselines/reference/user/follow-redirects.log @@ -20,7 +20,7 @@ node_modules/follow-redirects/index.js(360,14): error TS2339: Property 'emit' do node_modules/follow-redirects/index.js(372,13): error TS2339: Property 'cause' does not exist on type 'CustomError'. node_modules/follow-redirects/index.js(373,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. node_modules/follow-redirects/index.js(380,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. -node_modules/follow-redirects/index.js(492,25): error TS2339: Property 'code' does not exist on type 'Error'. +node_modules/follow-redirects/index.js(498,25): error TS2339: Property 'code' does not exist on type 'Error'. diff --git a/tests/baselines/reference/user/formik.log b/tests/baselines/reference/user/formik.log deleted file mode 100644 index 3025734fc91d2..0000000000000 --- a/tests/baselines/reference/user/formik.log +++ /dev/null @@ -1,13 +0,0 @@ -Exit Code: 2 -Standard output: -node_modules/formik/dist/Formik.d.ts(1,22): error TS6053: File '../../../tests/cases/user/formik/node_modules/formik/dist/types/index.d.ts' not found. -node_modules/formik/dist/Formik.d.ts(23,96): error TS7016: Could not find a declaration file for module 'scheduler'. '../../../tests/cases/user/formik/node_modules/scheduler/index.js' implicitly has an 'any' type. - Try `npm i --save-dev @types/scheduler` if it exists or add a new declaration (.d.ts) file containing `declare module 'scheduler';` -node_modules/formik/dist/Formik.d.ts(27,98): error TS7016: Could not find a declaration file for module 'scheduler'. '../../../tests/cases/user/formik/node_modules/scheduler/index.js' implicitly has an 'any' type. - Try `npm i --save-dev @types/scheduler` if it exists or add a new declaration (.d.ts) file containing `declare module 'scheduler';` -node_modules/formik/dist/Formik.d.ts(28,103): error TS7016: Could not find a declaration file for module 'scheduler'. '../../../tests/cases/user/formik/node_modules/scheduler/index.js' implicitly has an 'any' type. - Try `npm i --save-dev @types/scheduler` if it exists or add a new declaration (.d.ts) file containing `declare module 'scheduler';` - - - -Standard error: diff --git a/tests/baselines/reference/user/fp-ts.log b/tests/baselines/reference/user/fp-ts.log new file mode 100644 index 0000000000000..2da48077db7b6 --- /dev/null +++ b/tests/baselines/reference/user/fp-ts.log @@ -0,0 +1,10 @@ +Exit Code: 2 +Standard output: +test/Either.ts(244,33): error TS2345: Argument of type 'Either' is not assignable to parameter of type 'Either<`invalid color ${string}`, string>'. + Type 'Left' is not assignable to type 'Either<`invalid color ${string}`, string>'. + Type 'Left' is not assignable to type 'Left<`invalid color ${string}`>'. + Type 'string' is not assignable to type '`invalid color ${string}`'. + + + +Standard error: diff --git a/tests/baselines/reference/user/npm.log b/tests/baselines/reference/user/npm.log index 707e9e05391cc..f38846fdd4567 100644 --- a/tests/baselines/reference/user/npm.log +++ b/tests/baselines/reference/user/npm.log @@ -643,7 +643,8 @@ node_modules/npm/lib/pack.js(127,15): error TS2339: Property 'config' does not e node_modules/npm/lib/pack.js(147,36): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. node_modules/npm/lib/pack.js(177,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/pack.js(299,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(300,20): error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'. +node_modules/npm/lib/pack.js(300,20): error TS2345: Argument of type '`--${string}=${any}`' is not assignable to parameter of type 'never'. + Type 'string' is not assignable to type 'never'. node_modules/npm/lib/pack.js(300,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/pack.js(333,15): error TS2531: Object is possibly 'null'. node_modules/npm/lib/pack.js(335,17): error TS2339: Property 'code' does not exist on type 'Error'. @@ -1593,8 +1594,8 @@ node_modules/npm/test/tap/publish-access-unscoped.js(31,35): error TS2345: Argum node_modules/npm/test/tap/publish-config.js(4,22): error TS2307: Cannot find module 'tap' or its corresponding type declarations. node_modules/npm/test/tap/publish-invalid-semver-tag.js(2,20): error TS2307: Cannot find module 'tap' or its corresponding type declarations. node_modules/npm/test/tap/publish-invalid-semver-tag.js(8,18): error TS2307: Cannot find module 'npm-registry-mock' or its corresponding type declarations. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(26,59): error TS2345: Argument of type '{ name: string; version: string; }' is not assignable to parameter of type 'string | DataView | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Array'. - Type '{ name: string; version: string; }' is missing the following properties from type 'Float64Array': BYTES_PER_ELEMENT, buffer, byteLength, byteOffset, and 26 more. +node_modules/npm/test/tap/publish-invalid-semver-tag.js(26,59): error TS2345: Argument of type '{ name: string; version: string; }' is not assignable to parameter of type 'string | DataView | Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | ... 5 more ... | BigUint64Array'. + Type '{ name: string; version: string; }' is missing the following properties from type 'BigUint64Array': BYTES_PER_ELEMENT, buffer, byteLength, byteOffset, and 26 more. node_modules/npm/test/tap/publish-invalid-semver-tag.js(37,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. node_modules/npm/test/tap/publish-invalid-semver-tag.js(53,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/test/tap/publish-invalid-semver-tag.js(54,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. diff --git a/tests/baselines/reference/user/uglify-js.log b/tests/baselines/reference/user/uglify-js.log index 3aa7803c19b1a..583bb987a34d2 100644 --- a/tests/baselines/reference/user/uglify-js.log +++ b/tests/baselines/reference/user/uglify-js.log @@ -1,173 +1,189 @@ Exit Code: 2 Standard output: node_modules/uglify-js/lib/ast.js(125,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/ast.js(318,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/ast.js(625,69): error TS2552: Cannot find name 'error'. Did you mean 'Error'? -node_modules/uglify-js/lib/ast.js(1216,5): error TS2322: Type '{ visit: (node: any, descend: any) => void; parent: (n: any) => any; push: typeof push; pop: typeof pop; self: () => any; find_parent: (type: any) => any; has_directive: (type: any) => any; loopcontrol_target: (node: any) => any; in_boolean_context: () => boolean | undefined; }' is not assignable to type 'TreeWalker'. +node_modules/uglify-js/lib/ast.js(320,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/ast.js(513,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/ast.js(669,58): error TS2552: Cannot find name 'error'. Did you mean 'Error'? +node_modules/uglify-js/lib/ast.js(1379,5): error TS2322: Type '{ visit: (node: any, descend: any) => void; parent: (n: any) => any; push: typeof push; pop: typeof pop; self: () => any; find_parent: (type: any) => any; has_directive: (type: any) => any; loopcontrol_target: (node: any) => any; in_boolean_context: () => boolean | undefined; }' is not assignable to type 'TreeWalker'. Object literal may only specify known properties, and 'visit' does not exist in type 'TreeWalker'. -node_modules/uglify-js/lib/ast.js(1217,14): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/ast.js(1220,14): error TS2339: Property 'pop' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/ast.js(1274,25): error TS2339: Property 'self' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/ast.js(1275,37): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/ast.js(1293,31): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/ast.js(1297,29): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(192,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(712,27): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(783,21): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(786,20): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(786,40): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(796,20): error TS2339: Property 'argnames' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(798,55): error TS2339: Property 'uses_arguments' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(803,40): error TS2339: Property 'argnames' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(871,26): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(880,56): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(884,34): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(894,49): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(909,42): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1023,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1028,12): error TS2339: Property 'defun_ids' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1029,12): error TS2339: Property 'defun_visited' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1031,12): error TS2339: Property 'in_loop' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1032,12): error TS2339: Property 'loop_ids' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1037,12): error TS2339: Property 'safe_ids' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1314,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1329,51): error TS2349: This expression is not callable. +node_modules/uglify-js/lib/ast.js(1380,14): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/ast.js(1383,14): error TS2339: Property 'pop' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/ast.js(1437,25): error TS2339: Property 'self' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/ast.js(1438,37): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/ast.js(1454,52): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(193,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(598,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(654,27): error TS2339: Property 'name' does not exist on type 'reduce_defun'. +node_modules/uglify-js/lib/compress.js(860,21): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(868,20): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(868,40): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(878,32): error TS2339: Property 'uses_arguments' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(879,20): error TS2339: Property 'argnames' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(882,36): error TS2339: Property 'argnames' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(907,24): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(907,50): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(907,76): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(967,26): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(976,56): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(980,26): error TS2339: Property 'in_arg' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(981,34): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(991,49): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1006,42): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1131,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1136,12): error TS2339: Property 'defun_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1137,12): error TS2339: Property 'defun_visited' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1139,12): error TS2339: Property 'in_loop' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1140,12): error TS2339: Property 'loop_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1145,12): error TS2339: Property 'safe_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1188,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1209,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1476,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1491,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(1404,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1425,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1472,112): error TS2454: Variable 'args' is used before being assigned. -node_modules/uglify-js/lib/compress.js(1473,29): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(1498,33): error TS2322: Type 'boolean' is not assignable to type 'number'. -node_modules/uglify-js/lib/compress.js(1500,29): error TS2322: Type 'boolean' is not assignable to type 'never'. -node_modules/uglify-js/lib/compress.js(1672,53): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1790,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1814,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1829,46): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1860,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1892,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1908,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(1990,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2010,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2049,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2199,53): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. +node_modules/uglify-js/lib/compress.js(1536,61): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1566,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1587,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(1639,100): error TS2454: Variable 'args' is used before being assigned. +node_modules/uglify-js/lib/compress.js(1640,29): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(1665,33): error TS2322: Type 'boolean' is not assignable to type 'number'. +node_modules/uglify-js/lib/compress.js(1667,29): error TS2322: Type 'boolean' is not assignable to type 'never'. +node_modules/uglify-js/lib/compress.js(1842,65): error TS2339: Property 'find_parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1844,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1857,75): error TS2339: Property 'find_parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1992,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2018,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2020,68): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2027,46): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2058,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2088,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2093,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2105,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2126,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2188,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2208,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2247,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2397,53): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. Property '0' is optional in type 'number[]' but required in type '[start: number, deleteCount: number, ...items: never[]]'. -node_modules/uglify-js/lib/compress.js(2556,59): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2594,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(2754,59): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2792,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. Property '0' is optional in type 'any[]' but required in type '[start: number, deleteCount: number, ...items: never[]]'. -node_modules/uglify-js/lib/compress.js(2629,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(2817,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2834,27): error TS2339: Property 'required' does not exist on type 'any[]'. -node_modules/uglify-js/lib/compress.js(2839,43): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(2827,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(3023,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3044,27): error TS2339: Property 'required' does not exist on type 'any[]'. +node_modules/uglify-js/lib/compress.js(3049,43): 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(2878,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(2882,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(2928,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(2932,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(2997,22): error TS2339: Property 'is_undefined' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(2999,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3000,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3001,35): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3002,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3050,22): error TS2551: Property 'is_undefined' does not exist on type '(Anonymous function)'. Did you mean 'is_defined'? -node_modules/uglify-js/lib/compress.js(3051,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3052,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3053,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3057,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(3099,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3103,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(3189,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3193,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(3241,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3245,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(3494,44): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3716,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. -node_modules/uglify-js/lib/compress.js(3717,25): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(3717,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(3717,56): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(3734,48): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3745,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(3753,24): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(3835,48): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3853,33): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(4284,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4304,29): error TS2322: Type 'string' is not assignable to type 'boolean'. -node_modules/uglify-js/lib/compress.js(4455,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4473,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(4495,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(4565,52): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(4758,56): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(4759,54): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(4817,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4818,74): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(4875,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4922,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(5119,56): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(5243,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(5406,18): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5406,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5427,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(5437,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(5451,14): error TS2339: Property 'transform' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5457,34): error TS2339: Property 'argnames' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5522,32): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5615,18): error TS2339: Property 'enclosed' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5618,18): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5777,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead. -node_modules/uglify-js/lib/compress.js(5793,29): error TS2339: Property 'left' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5804,29): error TS2339: Property 'right' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5921,23): error TS2454: Variable 'exprs' is used before being assigned. -node_modules/uglify-js/lib/compress.js(5922,20): error TS2454: Variable 'exprs' is used before being assigned. -node_modules/uglify-js/lib/compress.js(5976,28): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5977,41): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5981,22): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5984,42): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(6015,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6017,44): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6021,56): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6022,12): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6090,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6146,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(6161,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(6271,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6273,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6440,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(6641,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6647,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6687,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(6923,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(3088,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3092,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(3138,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3142,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(3206,22): error TS2339: Property 'is_undefined' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3208,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3209,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3210,35): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3211,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3259,22): error TS2551: Property 'is_undefined' does not exist on type '(Anonymous function)'. Did you mean 'is_defined'? +node_modules/uglify-js/lib/compress.js(3260,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3261,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3262,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3266,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(3308,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3312,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(3398,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3402,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(3450,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3454,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(3707,44): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3930,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. +node_modules/uglify-js/lib/compress.js(3931,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(3931,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(3931,56): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(3948,48): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3959,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(3967,24): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4052,48): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4070,33): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(4537,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4557,29): error TS2322: Type 'string' is not assignable to type 'boolean'. +node_modules/uglify-js/lib/compress.js(4709,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4714,49): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4754,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(4782,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(4845,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'marker' must be of type 'TreeWalker', but here has type '(node: any) => void'. +node_modules/uglify-js/lib/compress.js(4845,61): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(4850,50): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5070,56): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(5071,54): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(5160,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5161,74): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(5223,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5274,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(5600,56): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(5715,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(5895,18): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5895,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5916,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(5926,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(5940,14): error TS2339: Property 'transform' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5946,34): error TS2339: Property 'argnames' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(6011,32): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6104,18): error TS2339: Property 'enclosed' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(6107,18): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(6313,29): error TS2339: Property 'left' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(6324,29): error TS2339: Property 'right' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(6443,23): error TS2454: Variable 'exprs' is used before being assigned. +node_modules/uglify-js/lib/compress.js(6444,20): error TS2454: Variable 'exprs' is used before being assigned. +node_modules/uglify-js/lib/compress.js(6510,28): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(6511,41): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(6515,22): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(6518,42): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(6549,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6551,44): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6555,56): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6556,12): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6624,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6680,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(6695,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(6818,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6820,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6987,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(7186,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7192,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(7233,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(7503,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[pattern: string | RegExp, flags?: string | undefined]'. Target requires 1 element(s) but source may have fewer. -node_modules/uglify-js/lib/compress.js(7087,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7094,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; toString: () => string; indent: (half: any) => void; should_break: () => void; has_parens: () => boolean; newline: () => void; print: (str: any) => void; space: () => void; comma: () => void; colon: () => void; ... 20 more ...; parent: (n: any) => any; }'. -node_modules/uglify-js/lib/compress.js(7098,36): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(7103,41): error TS2339: Property 'get' does not exist on type 'string'. -node_modules/uglify-js/lib/compress.js(7255,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7259,21): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(7266,25): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(7275,25): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(7291,32): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(7295,27): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(7524,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7808,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. -node_modules/uglify-js/lib/compress.js(8454,47): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(8544,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(8615,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(8621,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(8624,41): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(9205,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(9205,63): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(9241,43): error TS2454: Variable 'property' is used before being assigned. -node_modules/uglify-js/lib/compress.js(9257,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(9260,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. -node_modules/uglify-js/lib/compress.js(9265,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(9304,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/minify.js(191,57): 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(457,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/output.js(458,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/output.js(473,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/output.js(1137,44): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/output.js(1435,58): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. +node_modules/uglify-js/lib/compress.js(7667,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7674,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; toString: () => string; indent: (half: any) => void; should_break: () => void; has_parens: () => boolean; newline: () => void; print: (str: any) => void; space: () => void; comma: () => void; colon: () => void; ... 20 more ...; parent: (n: any) => any; }'. +node_modules/uglify-js/lib/compress.js(7678,36): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(7683,41): error TS2339: Property 'get' does not exist on type 'string'. +node_modules/uglify-js/lib/compress.js(7854,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7858,21): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(7870,25): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(7879,25): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(7895,32): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(7899,27): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(7969,40): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(8142,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(8423,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. +node_modules/uglify-js/lib/compress.js(9072,47): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(9162,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(9233,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(9239,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(9242,41): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(9840,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(9840,63): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(9872,43): error TS2454: Variable 'property' is used before being assigned. +node_modules/uglify-js/lib/compress.js(9893,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(9896,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. +node_modules/uglify-js/lib/compress.js(9901,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(9940,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/minify.js(194,57): error TS2339: Property 'compress' does not exist on type 'Compressor'. +node_modules/uglify-js/lib/mozilla-ast.js(573,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/output.js(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(1176,44): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/output.js(1524,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(249,9): error TS2322: Type 'string | boolean' is not assignable to type 'boolean'. Type 'string' is not assignable to type 'boolean'. node_modules/uglify-js/lib/parse.js(318,20): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'. @@ -175,24 +191,24 @@ node_modules/uglify-js/lib/parse.js(318,20): error TS2345: Argument of type 'num node_modules/uglify-js/lib/parse.js(407,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. node_modules/uglify-js/lib/parse.js(418,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. node_modules/uglify-js/lib/parse.js(468,20): error TS2339: Property 'raw_source' does not exist on type 'RegExp'. -node_modules/uglify-js/lib/parse.js(576,57): error TS2339: Property 'push' does not exist on type 'never'. -node_modules/uglify-js/lib/parse.js(582,32): error TS2345: Argument of type 'never[]' is not assignable to parameter of type 'never'. -node_modules/uglify-js/lib/parse.js(675,13): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(708,69): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(708,83): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(752,31): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(758,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(785,21): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(804,21): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(931,23): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. -node_modules/uglify-js/lib/parse.js(1049,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'. -node_modules/uglify-js/lib/parse.js(1108,17): error TS2454: Variable 'cur' is used before being assigned. -node_modules/uglify-js/lib/parse.js(1306,32): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1406,20): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1412,20): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1498,48): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1524,35): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1569,52): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(585,57): error TS2339: Property 'push' does not exist on type 'never'. +node_modules/uglify-js/lib/parse.js(591,32): error TS2345: Argument of type 'never[]' is not assignable to parameter of type 'never'. +node_modules/uglify-js/lib/parse.js(686,13): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(719,69): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(719,83): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(763,31): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(769,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(791,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(807,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(826,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(950,23): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. +node_modules/uglify-js/lib/parse.js(1078,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'. +node_modules/uglify-js/lib/parse.js(1138,17): error TS2454: Variable 'cur' is used before being assigned. +node_modules/uglify-js/lib/parse.js(1343,32): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1476,20): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1617,48): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1656,35): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1733,52): error TS2531: Object is possibly 'null'. node_modules/uglify-js/lib/propmangle.js(70,18): error TS2339: Property 'prototype' does not exist on type 'ObjectConstructor | FunctionConstructor | StringConstructor | BooleanConstructor | NumberConstructor | ... 4 more ... | ArrayConstructor'. Property 'prototype' does not exist on type 'Math'. node_modules/uglify-js/lib/propmangle.js(71,44): error TS2351: This expression is not constructable. @@ -202,27 +218,28 @@ node_modules/uglify-js/lib/propmangle.js(72,45): error TS2339: Property 'prototy Property 'prototype' does not exist on type 'Math'. node_modules/uglify-js/lib/propmangle.js(83,29): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/propmangle.js(146,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/propmangle.js(179,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/propmangle.js(176,29): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/scope.js(83,26): error TS2339: Property 'defun' does not exist on type 'SymbolDef'. node_modules/uglify-js/lib/scope.js(114,29): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/scope.js(164,41): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/scope.js(203,10): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(207,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(216,28): error TS2339: Property 'def_global' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(221,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(230,26): error TS2339: Property 'uses_eval' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(253,10): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(256,27): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(256,47): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(302,38): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(342,10): error TS2339: Property 'def_variable' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(344,21): error TS2339: Property 'start' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(345,19): error TS2339: Property 'end' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(489,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(506,49): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(550,31): error TS2345: Argument of type 'string' is not assignable to parameter of type 'object | null'. -node_modules/uglify-js/lib/scope.js(553,30): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(577,30): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(208,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(251,28): error TS2339: Property 'def_global' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(253,26): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(260,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(269,26): error TS2339: Property 'uses_eval' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(277,10): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(280,27): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(280,47): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(326,38): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(366,10): error TS2339: Property 'def_variable' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(368,21): error TS2339: Property 'start' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(369,19): error TS2339: Property 'end' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(514,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(546,49): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(596,31): error TS2345: Argument of type 'string' is not assignable to parameter of type 'object | null'. +node_modules/uglify-js/lib/scope.js(599,30): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(623,30): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/sourcemap.js(82,11): error TS2339: Property 'index' does not exist on type 'any[]'. node_modules/uglify-js/lib/sourcemap.js(178,31): error TS2339: Property 'index' does not exist on type 'any[]'. node_modules/uglify-js/lib/sourcemap.js(186,34): error TS2339: Property 'index' does not exist on type 'any[]'. diff --git a/tests/baselines/reference/user/webpack.log b/tests/baselines/reference/user/webpack.log index 25a502aaf4b72..8e95e4ffe8e93 100644 --- a/tests/baselines/reference/user/webpack.log +++ b/tests/baselines/reference/user/webpack.log @@ -1,71 +1,7 @@ Exit Code: 2 Standard output: -lib/Compilation.js(37,7): error TS2440: Import declaration conflicts with local declaration of 'Module'. -lib/Compilation.js(49,7): error TS2440: Import declaration conflicts with local declaration of 'WebpackError'. -lib/Compilation.js(53,7): error TS2440: Import declaration conflicts with local declaration of 'StatsFactory'. -lib/Compilation.js(54,7): error TS2440: Import declaration conflicts with local declaration of 'StatsPrinter'. -lib/Compiler.js(156,4): error TS2322: Type 'AsyncParallelHook' is not assignable to type 'AsyncParallelHook<[Compilation], Module>'. -lib/Compiler.js(156,4): error TS2322: Type 'AsyncParallelHook' is not assignable to type 'AsyncParallelHook<[Compilation], Module>'. - Types of property 'intercept' are incompatible. - Type '(interceptor: HookInterceptor) => void' is not assignable to type '(interceptor: HookInterceptor<[Compilation], void, Module>) => void'. - Types of parameters 'interceptor' and 'interceptor' are incompatible. - Type 'HookInterceptor<[Compilation], void, Module>' is not assignable to type 'HookInterceptor'. - Property '_UnsetAdditionalOptions' is missing in type 'Module' but required in type 'UnsetAdditionalOptions'. -lib/Compiler.js(158,4): error TS2322: Type 'AsyncSeriesHook' is not assignable to type 'AsyncParallelHook<[Compilation], Module>'. -lib/Compiler.js(158,4): error TS2322: Type 'AsyncSeriesHook' is not assignable to type 'AsyncParallelHook<[Compilation], Module>'. - Types of property 'intercept' are incompatible. - Type '(interceptor: HookInterceptor) => void' is not assignable to type '(interceptor: HookInterceptor<[Compilation], void, Module>) => void'. - Types of parameters 'interceptor' and 'interceptor' are incompatible. - Type 'HookInterceptor<[Compilation], void, Module>' is not assignable to type 'HookInterceptor'. -lib/ExportsInfo.js(1092,28): error TS1016: A required parameter cannot follow an optional parameter. -lib/FlagDependencyUsagePlugin.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'. -lib/NormalModule.js(19,7): error TS2440: Import declaration conflicts with local declaration of 'Compilation'. -lib/RuntimeTemplate.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'InitFragment'. -lib/Template.js(8,9): error TS2440: Import declaration conflicts with local declaration of 'ConcatSource'. -lib/Watching.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Stats'. -lib/WebpackOptionsApply.js(79,10): error TS2300: Duplicate identifier 'ElectronTargetPlugin'. -lib/WebpackOptionsApply.js(83,10): error TS2300: Duplicate identifier 'ElectronTargetPlugin'. -lib/WebpackOptionsApply.js(87,10): error TS2300: Duplicate identifier 'ElectronTargetPlugin'. -lib/WebpackOptionsApply.js(96,10): error TS2300: Duplicate identifier 'ElectronTargetPlugin'. -lib/WebpackOptionsApply.js(100,10): error TS2300: Duplicate identifier 'ExternalsPlugin'. -lib/WebpackOptionsApply.js(104,10): error TS2300: Duplicate identifier 'ExternalsPlugin'. -lib/WebpackOptionsApply.js(107,10): error TS2300: Duplicate identifier 'ExternalsPlugin'. -lib/WebpackOptionsApply.js(158,10): error TS2300: Duplicate identifier 'ExternalsPlugin'. -lib/WebpackOptionsApply.js(423,12): error TS2300: Duplicate identifier 'OccurrenceChunkIdsPlugin'. -lib/WebpackOptionsApply.js(430,12): error TS2300: Duplicate identifier 'OccurrenceChunkIdsPlugin'. -lib/WebpackOptionsApply.js(481,12): error TS2300: Duplicate identifier 'MemoryCachePlugin'. -lib/WebpackOptionsApply.js(491,12): error TS2300: Duplicate identifier 'MemoryCachePlugin'. -lib/cache/ResolverCachePlugin.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'LazySet'. -lib/dependencies/CommonJsExportRequireDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'. -lib/dependencies/HarmonyExportImportedSpecifierDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'. -lib/dependencies/HarmonyImportDependency.js(9,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'. -lib/dependencies/HarmonyImportSpecifierDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'. -lib/dependencies/ImportDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'. -lib/dependencies/ModuleDecoratorDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'. -lib/dependencies/NullDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'. -lib/dependencies/RequireIncludeDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'. -lib/dependencies/WorkerDependency.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Dependency'. -lib/javascript/EnableChunkLoadingPlugin.js(84,12): error TS2300: Duplicate identifier 'CommonJsChunkLoadingPlugin'. -lib/javascript/EnableChunkLoadingPlugin.js(91,12): error TS2300: Duplicate identifier 'CommonJsChunkLoadingPlugin'. -lib/library/EnableLibraryPlugin.js(79,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'. -lib/library/EnableLibraryPlugin.js(89,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'. -lib/library/EnableLibraryPlugin.js(99,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'. -lib/library/EnableLibraryPlugin.js(109,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'. -lib/library/EnableLibraryPlugin.js(119,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'. -lib/library/EnableLibraryPlugin.js(129,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'. -lib/library/EnableLibraryPlugin.js(139,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'. -lib/library/EnableLibraryPlugin.js(150,12): error TS2300: Duplicate identifier 'AssignLibraryPlugin'. -lib/optimize/SplitChunksPlugin.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Chunk'. -lib/runtime/LoadScriptRuntimeModule.js(8,7): error TS2440: Import declaration conflicts with local declaration of 'Compilation'. -lib/util/registerExternalSerializer.js(319,16): error TS2339: Property 'errors' does not exist on type 'typeof ValidationError'. -lib/util/registerExternalSerializer.js(320,16): error TS2339: Property 'schema' does not exist on type 'typeof ValidationError'. -lib/util/registerExternalSerializer.js(322,17): error TS2339: Property 'headerName' does not exist on type 'typeof ValidationError'. -lib/util/registerExternalSerializer.js(323,25): error TS2339: Property 'baseDataPath' does not exist on type 'typeof ValidationError'. -lib/util/registerExternalSerializer.js(324,26): error TS2339: Property 'postFormatter' does not exist on type 'typeof ValidationError'. -lib/util/registerExternalSerializer.js(333,4): error TS2739: Type 'ValidationError' is missing the following properties from type 'typeof ValidationError': prototype, captureStackTrace, stackTraceLimit -lib/wasm-async/AsyncWebAssemblyModulesPlugin.js(9,7): error TS2440: Import declaration conflicts with local declaration of 'Compilation'. -lib/webpack.js(10,7): error TS2440: Import declaration conflicts with local declaration of 'Compiler'. -lib/webpack.js(11,7): error TS2440: Import declaration conflicts with local declaration of 'MultiCompiler'. +lib/MultiCompiler.js(247,18): error TS2345: Argument of type '"Circular dependency found in compiler dependencies."' is not assignable to parameter of type '`${string} -> ${string}`'. +lib/MultiCompiler.js(248,19): error TS2345: Argument of type 'string' is not assignable to parameter of type '`Compiler dependency \`${string}\` not found.`'. From 866734afb00b64145f8de98a10b23a7d3202bb07 Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Wed, 16 Dec 2020 23:26:34 +0000 Subject: [PATCH 2/2] Update user baselines --- tests/baselines/reference/user/async.log | 1 + tests/baselines/reference/user/bluebird.log | 8 ++++ .../user/chrome-devtools-frontend.log | 48 +++++++++++++++++++ tests/baselines/reference/user/lodash.log | 21 ++++++++ tests/baselines/reference/user/npm.log | 4 ++ tests/baselines/reference/user/webpack.log | 12 +++++ 6 files changed, 94 insertions(+) diff --git a/tests/baselines/reference/user/async.log b/tests/baselines/reference/user/async.log index 28b56cb17f6b7..e0aa8028d8e6a 100644 --- a/tests/baselines/reference/user/async.log +++ b/tests/baselines/reference/user/async.log @@ -187,6 +187,7 @@ node_modules/async/dist/async.js(3640,30): error TS1003: Identifier expected. node_modules/async/dist/async.js(3664,9): error TS1003: Identifier expected. node_modules/async/dist/async.js(3688,9): error TS2722: Cannot invoke an object which is possibly 'undefined'. node_modules/async/dist/async.js(3746,9): error TS1003: Identifier expected. +node_modules/async/dist/async.js(3761,19): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/async/dist/async.js(3827,14): error TS2339: Property 'memo' does not exist on type '(...args: any[]) => void'. node_modules/async/dist/async.js(3828,14): error TS2339: Property 'unmemoized' does not exist on type '(...args: any[]) => void'. node_modules/async/dist/async.js(3844,9): error TS1003: Identifier expected. diff --git a/tests/baselines/reference/user/bluebird.log b/tests/baselines/reference/user/bluebird.log index 601ff3ab5fac2..a54d297aeaeae 100644 --- a/tests/baselines/reference/user/bluebird.log +++ b/tests/baselines/reference/user/bluebird.log @@ -10,6 +10,12 @@ node_modules/bluebird/js/release/debuggability.js(301,9): error TS2322: Type 'Pr node_modules/bluebird/js/release/debuggability.js(301,28): error TS2684: The 'this' context of type '((...args: any[]) => Process) | ((name: any, ...args: any[]) => boolean)' is not assignable to method's 'this' of type '(this: null, args_0?: any, ...args_1: any[]) => Process'. Type '(name: any, ...args: any[]) => boolean' is not assignable to type '(this: null, args_0?: any, ...args_1: any[]) => Process'. Type 'boolean' is not assignable to type 'Process'. +node_modules/bluebird/js/release/debuggability.js(321,30): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/bluebird/js/release/debuggability.js(328,23): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/bluebird/js/release/debuggability.js(334,39): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/bluebird/js/release/debuggability.js(339,27): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/bluebird/js/release/debuggability.js(355,25): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/bluebird/js/release/debuggability.js(364,25): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/bluebird/js/release/debuggability.js(456,14): error TS2339: Property '_setBoundTo' does not exist on type 'cancellationPropagateFrom'. node_modules/bluebird/js/release/debuggability.js(482,42): error TS2339: Property '_peekContext' does not exist on type 'longStackTracesCaptureStackTrace'. node_modules/bluebird/js/release/debuggability.js(562,19): error TS2350: Only a void function can be called with the 'new' keyword. @@ -18,6 +24,7 @@ node_modules/bluebird/js/release/debuggability.js(807,5): error TS2721: Cannot i node_modules/bluebird/js/release/debuggability.js(825,30): error TS2339: Property 'stack' does not exist on type 'CapturedTrace'. node_modules/bluebird/js/release/debuggability.js(831,37): error TS2339: Property 'stack' does not exist on type 'CapturedTrace'. node_modules/bluebird/js/release/debuggability.js(870,38): error TS2339: Property 'stack' does not exist on type 'CapturedTrace'. +node_modules/bluebird/js/release/debuggability.js(922,42): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/bluebird/js/release/debuggability.js(950,4): error TS2554: Expected 0 arguments, but got 1. node_modules/bluebird/js/release/errors.js(10,49): error TS2350: Only a void function can be called with the 'new' keyword. node_modules/bluebird/js/release/finally.js(50,24): error TS2339: Property 'promise' does not exist on type 'finallyHandler'. @@ -119,6 +126,7 @@ node_modules/bluebird/js/release/props.js(75,26): error TS2339: Property '_value node_modules/bluebird/js/release/props.js(75,57): error TS2339: Property '_values' does not exist on type 'PropertiesPromiseArray'. node_modules/bluebird/js/release/props.js(78,14): error TS2339: Property '_resolve' does not exist on type 'PropertiesPromiseArray'. node_modules/bluebird/js/release/props.js(102,53): error TS2339: Property 'promise' does not exist on type 'PropertiesPromiseArray'. +node_modules/bluebird/js/release/race.js(32,41): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/bluebird/js/release/reduce.js(12,10): error TS2339: Property 'constructor$' does not exist on type 'ReductionPromiseArray'. node_modules/bluebird/js/release/reduce.js(22,39): error TS2339: Property '_length' does not exist on type 'ReductionPromiseArray'. node_modules/bluebird/js/release/reduce.js(28,10): error TS2339: Property '_promise' does not exist on type 'ReductionPromiseArray'. diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index b8121f8f358ce..0e2337755415c 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -995,6 +995,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(16733,11): error TS2339: Property 'NodeTimingData' does not exist on type 'typeof Simulator'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(17089,26): error TS2339: Property '__proto__' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(17089,45): error TS2339: Property '__proto__' does not exist on type 'Document'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(17092,23): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(17307,19): error TS2792: Cannot find module './url-shim'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(17308,29): error TS2792: Cannot find module './web-inspector'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(17501,1): error TS2322: Type 'any[]' is not assignable to type 'string'. @@ -1109,11 +1110,13 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21419,6): error TS2339: Property 'on' does not exist on type 'Zlib'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21466,6): error TS2339: Property 'push' does not exist on type 'Zlib'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21526,20): error TS2792: Cannot find module 'buffer'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21610,108): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21646,20): error TS2792: Cannot find module 'base64-js'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21647,21): error TS2792: Cannot find module 'ieee754'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21648,21): error TS2792: Cannot find module 'isarray'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21690,5): error TS2339: Property '__proto__' does not exist on type 'Uint8Array'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21691,12): error TS2339: Property 'foo' does not exist on type 'Uint8Array'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(21934,47): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(22168,14): error TS2339: Property 'length' does not exist on type 'Buffer'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(22179,14): error TS2339: Property 'length' does not exist on type 'Buffer'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(22191,14): error TS2339: Property 'length' does not exist on type 'Buffer'. @@ -1288,6 +1291,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31124,56): error TS2339: Property 'process' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31130,128): error TS2551: Property 'WebkitAppearance' does not exist on type 'CSSStyleDeclaration'. Did you mean 'webkitAppearance'? node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31132,62): error TS2339: Property 'firebug' does not exist on type 'Console'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31238,46): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31289,1): error TS2323: Cannot redeclare exported variable 'names'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31290,1): error TS2323: Cannot redeclare exported variable 'skips'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(31343,6): error TS2339: Property 'diff' does not exist on type '{ (...args: any[]): void; namespace: any; enabled: any; useColors: any; color: any; }'. @@ -1347,6 +1351,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(40469,12): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(40469,36): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(40474,16): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(40474,16): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(40475,10): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(40476,11): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(40477,15): error TS2304: Cannot find name 'WebInspector'. @@ -1627,12 +1632,14 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44051,11): error TS2339: Property 'isDigitAt' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44054,14): error TS2339: Property 'isDigitAt' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44074,14): error TS2339: Property 'isDigitAt' does not exist on type 'StringConstructor'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44078,22): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44095,8): error TS2339: Property 'standardFormatters' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44128,8): error TS2339: Property 'vsprintf' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44130,15): error TS2339: Property 'format' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44130,50): error TS2339: Property 'standardFormatters' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44143,8): error TS2339: Property 'format' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44164,36): error TS2339: Property 'tokenizeFormatString' does not exist on type 'StringConstructor'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44190,25): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44243,35): error TS2339: Property 'regexSpecialCharacters' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44297,15): error TS2339: Property 'valuesArray' does not exist on type 'Set'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(44306,15): error TS2339: Property 'addAll' does not exist on type 'Set'. @@ -1751,6 +1758,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(46746,18): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(46758,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(46765,16): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(46766,107): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(46770,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(46776,24): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(46785,25): error TS2304: Cannot find name 'WebInspector'. @@ -1855,7 +1863,9 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(47935,16): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(47936,16): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(47943,31): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(47943,31): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(47944,30): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(47944,30): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(47982,55): error TS2304: Cannot find name 'PageAgent'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(47989,32): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(48027,40): error TS2304: Cannot find name 'WebInspector'. @@ -1986,6 +1996,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50326,31): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50342,31): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50392,23): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50449,42): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50474,16): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50479,25): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50481,25): error TS2304: Cannot find name 'WebInspector'. @@ -2040,6 +2051,8 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50774,26): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50775,19): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50782,1): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50788,38): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50788,54): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50801,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50818,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50825,1): error TS2304: Cannot find name 'WebInspector'. @@ -2066,6 +2079,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(51188,15): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(51195,8): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(51204,1): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(51234,12): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(51265,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(51275,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(51285,1): error TS2304: Cannot find name 'WebInspector'. @@ -2579,6 +2593,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(53579,29): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(53581,29): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(53583,29): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(53584,17): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(53585,14): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(53586,29): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(53589,29): error TS2304: Cannot find name 'WebInspector'. @@ -3139,6 +3154,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(59107,6): error TS2339: Property 'addEvent' does not exist on type 'NetworkRequest'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(59110,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(59117,16): error TS2304: Cannot find name 'WebInspector'. +node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(59122,17): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(59138,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(59142,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(59158,1): error TS2304: Cannot find name 'WebInspector'. @@ -3885,6 +3901,9 @@ node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(689,28): error node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(690,25): error TS2345: Argument of type '{ from: any; to: any; }' is not assignable to parameter of type 'number'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(691,26): error TS2339: Property 'inclusiveRight' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(692,25): error TS2345: Argument of type '{ from: any; to: any; }' is not assignable to parameter of type 'number'. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(1222,25): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(1222,46): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(1284,19): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(2428,8): error TS2551: Property 'lineN' does not exist on type 'LineView'. Did you mean 'line'? node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(2429,20): error TS2339: Property 'built' does not exist on type 'LineView'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(2601,32): error TS2339: Property 'logicalXDPI' does not exist on type 'Screen'. @@ -4243,6 +4262,7 @@ node_modules/chrome-devtools-frontend/front_end/common/ParsedURL.js(266,20): err node_modules/chrome-devtools-frontend/front_end/common/ParsedURL.js(318,49): error TS2554: Expected 0 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/common/ParsedURL.js(375,18): error TS2339: Property 'asParsedURL' does not exist on type 'String'. node_modules/chrome-devtools-frontend/front_end/common/SegmentedRange.js(48,37): error TS2339: Property 'lowerBound' does not exist on type 'Segment[]'. +node_modules/chrome-devtools-frontend/front_end/common/Settings.js(204,20): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/common/Settings.js(227,10): error TS2554: Expected 1 arguments, but got 0. node_modules/chrome-devtools-frontend/front_end/common/Settings.js(273,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/common/Settings.js(277,41): error TS2345: Argument of type 'string' is not assignable to parameter of type 'symbol'. @@ -5021,6 +5041,7 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(44 node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(450,19): error TS2339: Property 'scheduleUpdateStructure' does not exist on type 'DataGrid'. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(467,21): error TS2339: Property 'scheduleUpdate' does not exist on type 'DataGrid'. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(477,19): error TS2339: Property '_revealViewportNode' does not exist on type 'DataGrid'. +node_modules/chrome-devtools-frontend/front_end/data_grid_test_runner/DataGridTestRunner.js(17,16): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(11,36): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(36,47): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(46,27): error TS2339: Property 'events' does not exist on type 'InspectorFrontendHostAPI'. @@ -5925,8 +5946,10 @@ node_modules/chrome-devtools-frontend/front_end/elements_test_runner/ElementsTes node_modules/chrome-devtools-frontend/front_end/elements_test_runner/ElementsTestRunner.js(372,22): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/elements_test_runner/ElementsTestRunner.js(384,33): error TS2339: Property 'elements' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/elements_test_runner/ElementsTestRunner.js(429,28): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'. +node_modules/chrome-devtools-frontend/front_end/elements_test_runner/ElementsTestRunner.js(526,26): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/elements_test_runner/ElementsTestRunner.js(549,33): error TS2339: Property 'elements' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/elements_test_runner/ElementsTestRunner.js(735,11): error TS2588: Cannot assign to 'name' because it is a constant. +node_modules/chrome-devtools-frontend/front_end/elements_test_runner/ElementsTestRunner.js(987,75): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/elements_test_runner/ElementsTestRunner.js(1024,26): error TS2339: Property 'elements' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/elements_test_runner/ElementsTestRunner.js(1048,13): error TS2339: Property 'elements' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/elements_test_runner/ElementsTestRunner.js(1052,13): error TS2339: Property 'elements' does not exist on type 'any[]'. @@ -6295,6 +6318,7 @@ node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(103,45): error TS2322: Type 'number' is not assignable to type 'boolean'. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(138,3): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(146,36): error TS2322: Type 'number' is not assignable to type 'boolean'. +node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(203,22): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(208,5): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(223,3): error TS2554: Expected 2-3 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/formatter_worker/FormatterWorker.js(230,51): error TS2322: Type 'number' is not assignable to type 'boolean'. @@ -6690,6 +6714,10 @@ node_modules/chrome-devtools-frontend/front_end/formatter_worker/acorn/acorn_loo node_modules/chrome-devtools-frontend/front_end/har_importer/HARImporter.js(16,32): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. node_modules/chrome-devtools-frontend/front_end/har_importer/HARImporter.js(16,52): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. node_modules/chrome-devtools-frontend/front_end/har_importer/HARImporter.js(46,5): error TS2322: Type 'Date' is not assignable to type 'number'. +node_modules/chrome-devtools-frontend/front_end/heap_profiler_test_runner/HeapProfilerTestRunner.js(136,26): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/heap_profiler_test_runner/HeapProfilerTestRunner.js(262,25): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/heap_profiler_test_runner/HeapProfilerTestRunner.js(269,25): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/heap_profiler_test_runner/HeapProfilerTestRunner.js(276,21): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/heap_profiler_test_runner/HeapProfilerTestRunner.js(320,70): error TS2339: Property 'heap_profiler' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/heap_profiler_test_runner/HeapProfilerTestRunner.js(321,35): error TS2339: Property 'heap_profiler' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/heap_profiler_test_runner/HeapProfilerTestRunner.js(366,55): error TS2339: Property 'heap_profiler' does not exist on type 'any[]'. @@ -7572,6 +7600,8 @@ node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSectio node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(923,51): error TS2339: Property 'parentObject' does not exist on type 'RemoteObjectProperty'. node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(924,51): error TS2339: Property 'parentObject' does not exist on type 'RemoteObjectProperty'. node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(980,18): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'. +node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(1039,22): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(1146,20): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(1153,23): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(1182,26): error TS2339: Property '_readOnly' does not exist on type 'ObjectPropertyTreeElement'. node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(1211,20): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. @@ -8594,11 +8624,14 @@ node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(309 node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(310,14): error TS2339: Property 'domain' does not exist on type '(arg0: any) => any'. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(312,16): error TS2339: Property 'sendRequestTime' does not exist on type '(arg0: any) => any'. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(320,15): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. +node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(338,17): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(359,25): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(422,49): error TS2339: Property 'context' does not exist on type 'Console'. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(422,67): error TS2339: Property 'context' does not exist on type 'Console'. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(463,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(541,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(634,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. +node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(701,27): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(716,49): error TS2339: Property 'context' does not exist on type 'Console'. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(716,67): error TS2339: Property 'context' does not exist on type 'Console'. node_modules/chrome-devtools-frontend/front_end/quick_open/CommandMenu.js(18,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -9138,6 +9171,7 @@ node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1251,32): error node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1277,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1288,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1300,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. +node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1304,32): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1313,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1323,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1324,32): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. @@ -9213,6 +9247,7 @@ node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(522,27): er node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(523,19): error TS2339: Property '_continueToLocationCallback' does not exist on type 'DebuggerModel'. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(540,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(546,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. +node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(560,52): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(700,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(711,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(816,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. @@ -9309,6 +9344,7 @@ node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(276,24): e node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(291,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(304,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(322,20): error TS2339: Property 'connectionReused' does not exist on type 'NetworkRequest'. +node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(375,37): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(382,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(383,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkManager.js(384,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. @@ -9860,6 +9896,7 @@ node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(541,13): err node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(543,13): error TS2339: Property 'bind_id' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(576,43): error TS2339: Property 'ordinal' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(576,55): error TS2339: Property 'ordinal' does not exist on type 'Event'. +node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(605,19): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(666,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(870,5): error TS2322: Type 'NamedObject[]' is not assignable to type 'Thread[]'. Type 'NamedObject' is missing the following properties from type 'Thread': _process, _events, _asyncEvents, _lastTopLevelEvent, and 7 more. @@ -9992,6 +10029,8 @@ node_modules/chrome-devtools-frontend/front_end/settings/SettingsScreen.js(85,5) node_modules/chrome-devtools-frontend/front_end/settings/SettingsScreen.js(100,15): error TS2339: Property 'keyCode' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/settings/SettingsScreen.js(119,31): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/settings/SettingsScreen.js(121,42): error TS2339: Property 'createChild' does not exist on type 'Element'. +node_modules/chrome-devtools-frontend/front_end/settings/SettingsScreen.js(169,22): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/settings/SettingsScreen.js(171,25): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/settings/SettingsScreen.js(245,30): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/settings/SettingsScreen.js(247,16): error TS2339: Property 'createTextChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/settings/SettingsScreen.js(248,30): error TS2339: Property 'createChild' does not exist on type 'Element'. @@ -10626,6 +10665,7 @@ node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1557,1): error TS2323: Cannot redeclare exported variable '__esModule'. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1558,33): error TS2792: Cannot find module './EscapeSequences'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1559,26): error TS2792: Cannot find module './Charsets'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? +node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(1828,31): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(2037,1): error TS2323: Cannot redeclare exported variable '__esModule'. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(2038,38): error TS2792: Cannot find module './utils/DomElementObjectPool'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(2281,1): error TS2323: Cannot redeclare exported variable '__esModule'. @@ -10653,6 +10693,7 @@ node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(2714,22): error TS2339: Property '_objectCount' does not exist on type 'typeof DomElementObjectPool'. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(2721,1): error TS2323: Cannot redeclare exported variable '__esModule'. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(2732,1): error TS2323: Cannot redeclare exported variable '__esModule'. +node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(2743,32): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(2766,1): error TS2323: Cannot redeclare exported variable '__esModule'. node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(2767,35): error TS2792: Cannot find module './CompositionHelper'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? node_modules/chrome-devtools-frontend/front_end/terminal/xterm.js/build/xterm.js(2768,30): error TS2792: Cannot find module './EventEmitter'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? @@ -10915,6 +10956,7 @@ node_modules/chrome-devtools-frontend/front_end/text_utils/TextUtils.js(340,15): node_modules/chrome-devtools-frontend/front_end/timeline/CountersGraph.js(59,42): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/CountersGraph.js(75,98): error TS2339: Property 'bytesToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/CountersGraph.js(84,16): error TS2339: Property 'bytesToString' does not exist on type 'NumberConstructor'. +node_modules/chrome-devtools-frontend/front_end/timeline/CountersGraph.js(117,40): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/timeline/CountersGraph.js(123,60): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/CountersGraph.js(195,19): error TS2339: Property 'x' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/timeline/CountersGraph.js(195,45): error TS2339: Property 'totalOffsetLeft' does not exist on type 'Element'. @@ -11191,6 +11233,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(815, node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(816,72): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(824,74): error TS2339: Property 'bytesToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(838,74): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(858,27): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(977,54): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1003,18): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1040,31): error TS2339: Property 'asParsedURL' does not exist on type 'string'. @@ -11323,6 +11366,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js( node_modules/chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js(823,18): error TS2339: Property 'causedFrame' does not exist on type 'AsyncEvent'. node_modules/chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js(827,109): error TS2339: Property 'causedFrame' does not exist on type 'AsyncEvent'. node_modules/chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js(861,23): error TS2339: Property 'mergeOrdered' does not exist on type 'AsyncEvent[]'. +node_modules/chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js(1337,23): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js(1433,61): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js(1524,30): error TS2488: Type 'Iterator' must have a '[Symbol.iterator]()' method that returns an iterator. node_modules/chrome-devtools-frontend/front_end/timeline_model/TimelineModel.js(1532,22): error TS2339: Property 'linkedRecalcStyleEvent' does not exist on type 'InvalidationTrackingEvent'. @@ -11484,6 +11528,10 @@ node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(166,103): error T node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(171,22): error TS2339: Property 'classList' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(174,21): error TS2339: Property 'remove' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(184,80): error TS2339: Property 'content' does not exist on type 'Element'. +node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(201,26): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(204,40): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(216,29): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(221,28): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(247,24): error TS2488: Type 'NodeListOf' must have a '[Symbol.iterator]()' method that returns an iterator. node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(273,33): error TS2694: Namespace 'UI.Fragment' has no exported member '_Bind'. node_modules/chrome-devtools-frontend/front_end/ui/Fragment.js(292,2): error TS1131: Property or signature expected. diff --git a/tests/baselines/reference/user/lodash.log b/tests/baselines/reference/user/lodash.log index aa74e2a00fa29..e9039562c92fd 100644 --- a/tests/baselines/reference/user/lodash.log +++ b/tests/baselines/reference/user/lodash.log @@ -37,12 +37,15 @@ node_modules/lodash/_arrayReduceRight.js(19,41): error TS2532: Object is possibl node_modules/lodash/_arraySome.js(11,27): error TS1016: A required parameter cannot follow an optional parameter. node_modules/lodash/_arraySome.js(16,19): error TS2532: Object is possibly 'undefined'. node_modules/lodash/_asciiWords.js(8,20): error TS8024: JSDoc '@param' tag has name 'The', but there is no parameter with that name. +node_modules/lodash/_assignMergeValue.js(15,40): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/lodash/_assignValue.js(23,40): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/_baseClamp.js(10,35): error TS1016: A required parameter cannot follow an optional parameter. node_modules/lodash/_baseClone.js(92,16): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. node_modules/lodash/_baseClone.js(93,16): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. node_modules/lodash/_baseClone.js(94,16): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. node_modules/lodash/_baseClone.js(116,33): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean | undefined'. node_modules/lodash/_baseClone.js(129,43): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean | undefined'. +node_modules/lodash/_baseConformsTo.js(20,42): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/_baseDifference.js(37,5): error TS2322: Type '(array?: any[] | undefined, value: any, comparator: Function) => boolean' is not assignable to type '(array?: any[] | undefined, value: any) => boolean'. node_modules/lodash/_baseDifference.js(43,5): error TS2740: Type 'SetCache' is missing the following properties from type 'any[]': length, pop, concat, join, and 27 more. node_modules/lodash/_baseDifference.js(60,42): error TS2554: Expected 2 arguments, but got 3. @@ -52,17 +55,21 @@ node_modules/lodash/_baseFlatten.js(24,22): error TS2349: This expression is not Type 'Boolean' has no call signatures. node_modules/lodash/_baseFlatten.js(24,22): error TS2532: Object is possibly 'undefined'. node_modules/lodash/_baseFlatten.js(24,22): error TS2722: Cannot invoke an object which is possibly 'undefined'. +node_modules/lodash/_baseGetTag.js(23,47): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/_baseHas.js(15,26): error TS1016: A required parameter cannot follow an optional parameter. node_modules/lodash/_baseHas.js(16,56): error TS2345: Argument of type 'string | any[]' is not assignable to parameter of type 'string | number | symbol'. Type 'any[]' is not assignable to type 'string | number | symbol'. Type 'any[]' is not assignable to type 'string'. node_modules/lodash/_baseHasIn.js(9,28): error TS1016: A required parameter cannot follow an optional parameter. node_modules/lodash/_baseHasIn.js(10,28): error TS2360: The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'. +node_modules/lodash/_baseHasIn.js(10,35): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/_baseIntersection.js(53,40): error TS2345: Argument of type 'Function | undefined' is not assignable to parameter of type 'Function'. Type 'undefined' is not assignable to type 'Function'. node_modules/lodash/_baseIntersection.js(60,54): error TS2345: Argument of type 'Function | undefined' is not assignable to parameter of type 'Function'. Type 'undefined' is not assignable to type 'Function'. node_modules/lodash/_baseIsEqual.js(25,40): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'number'. +node_modules/lodash/_baseIsMatch.js(31,26): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/lodash/_baseIsMatch.js(43,46): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/_baseIsMatch.js(52,47): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'. node_modules/lodash/_baseMatchesProperty.js(23,36): error TS2345: Argument of type 'string | symbol' is not assignable to parameter of type 'string'. Type 'symbol' is not assignable to type 'string'. @@ -156,7 +163,10 @@ node_modules/lodash/_customDefaultsMerge.js(22,35): error TS2345: Argument of ty node_modules/lodash/_customOmitClone.js(9,20): error TS8024: JSDoc '@param' tag has name 'key', but there is no parameter with that name. node_modules/lodash/_equalArrays.js(65,22): error TS2532: Object is possibly 'undefined'. node_modules/lodash/_equalByTag.js(86,7): error TS2454: Variable 'convert' is used before being assigned. +node_modules/lodash/_equalObjects.js(38,30): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/_equalObjects.js(71,18): error TS2322: Type 'boolean' is not assignable to type 'number'. +node_modules/lodash/_equalObjects.js(79,27): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/lodash/_equalObjects.js(79,54): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/_getHolder.js(10,17): error TS2339: Property 'placeholder' does not exist on type 'Function'. node_modules/lodash/_getRawTag.js(36,7): error TS2454: Variable 'unmasked' is used before being assigned. node_modules/lodash/_getValue.js(9,27): error TS1016: A required parameter cannot follow an optional parameter. @@ -169,6 +179,10 @@ node_modules/lodash/_initCloneArray.js(21,26): error TS2339: Property 'input' do node_modules/lodash/_insertWrapDetails.js(10,5): error TS1223: 'returns' tag already specified. node_modules/lodash/_insertWrapDetails.js(15,5): error TS2322: Type 'string' is not assignable to type 'any[]'. node_modules/lodash/_insertWrapDetails.js(20,3): error TS2322: Type 'string' is not assignable to type 'any[]'. +node_modules/lodash/_isIterateeCall.js(23,41): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/lodash/_isKey.js(26,33): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/lodash/_isLaziable.js(18,51): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/lodash/_matchesStrictComparable.js(16,42): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/_memoizeCapped.js(22,22): error TS2339: Property 'cache' does not exist on type 'Function'. node_modules/lodash/_mergeData.js(60,26): error TS2554: Expected 4 arguments, but got 3. node_modules/lodash/_mergeData.js(67,26): error TS2554: Expected 4 arguments, but got 3. @@ -205,6 +219,7 @@ node_modules/lodash/cloneDeepWith.js(37,27): error TS2345: Argument of type 'num node_modules/lodash/cloneWith.js(39,27): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'. node_modules/lodash/conforms.js(32,41): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'. node_modules/lodash/core.js(77,82): error TS2339: Property 'nodeType' does not exist on type 'NodeModule'. +node_modules/lodash/core.js(415,42): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/core.js(540,31): error TS2322: Type '(value: any) => boolean' is not assignable to type 'boolean | undefined'. Type '(value: any) => boolean' is not assignable to type 'true'. node_modules/lodash/core.js(545,24): error TS2349: This expression is not callable. @@ -214,8 +229,10 @@ node_modules/lodash/core.js(545,24): error TS2722: Cannot invoke an object which node_modules/lodash/core.js(664,42): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'number'. node_modules/lodash/core.js(721,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'result' must be of type 'boolean', but here has type 'any'. node_modules/lodash/core.js(749,18): error TS8024: JSDoc '@param' tag has name 'value', but there is no parameter with that name. +node_modules/lodash/core.js(810,22): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/core.js(811,53): error TS2345: Argument of type 'number' is not assignable to parameter of type 'boolean'. node_modules/lodash/core.js(826,24): error TS8024: JSDoc '@param' tag has name 'paths', but there is no parameter with that name. +node_modules/lodash/core.js(832,18): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/core.js(848,57): error TS2554: Expected 1 arguments, but got 2. node_modules/lodash/core.js(864,9): error TS2532: Object is possibly 'undefined'. node_modules/lodash/core.js(865,16): error TS2532: Object is possibly 'undefined'. @@ -232,10 +249,14 @@ node_modules/lodash/core.js(876,37): error TS2532: Object is possibly 'undefined node_modules/lodash/core.js(886,22): error TS8024: JSDoc '@param' tag has name 'array', but there is no parameter with that name. node_modules/lodash/core.js(1118,48): error TS2554: Expected 1 arguments, but got 2. node_modules/lodash/core.js(1123,36): error TS2454: Variable 'iteratee' is used before being assigned. +node_modules/lodash/core.js(1298,32): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/core.js(1325,20): error TS2322: Type 'boolean' is not assignable to type 'number'. +node_modules/lodash/core.js(1333,29): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +node_modules/lodash/core.js(1333,56): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/core.js(1350,60): error TS2554: Expected 1 arguments, but got 2. node_modules/lodash/core.js(1361,5): error TS2322: Type 'boolean | void' is not assignable to type 'boolean'. Type 'void' is not assignable to type 'boolean'. +node_modules/lodash/core.js(1399,43): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/lodash/core.js(1445,34): error TS1016: A required parameter cannot follow an optional parameter. node_modules/lodash/core.js(1446,23): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'. Type 'undefined' is not assignable to type 'number'. diff --git a/tests/baselines/reference/user/npm.log b/tests/baselines/reference/user/npm.log index f38846fdd4567..f8aa1504c2690 100644 --- a/tests/baselines/reference/user/npm.log +++ b/tests/baselines/reference/user/npm.log @@ -435,6 +435,7 @@ node_modules/npm/lib/install/audit.js(172,19): error TS2339: Property 'config' d node_modules/npm/lib/install/audit.js(216,26): error TS2339: Property 'version' does not exist on type 'EventEmitter'. node_modules/npm/lib/install/check-permissions.js(36,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/install/decompose-actions.js(47,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install/deps.js(125,17): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/npm/lib/install/deps.js(253,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/install/deps.js(309,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/install/deps.js(310,29): error TS2339: Property 'config' does not exist on type 'EventEmitter'. @@ -485,6 +486,7 @@ node_modules/npm/lib/install/validate-tree.js(44,10): error TS2339: Property 'co node_modules/npm/lib/install/validate-tree.js(62,15): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/install/validate-tree.js(70,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/install/validate-tree.js(74,13): error TS2339: Property 'code' does not exist on type 'Error'. +node_modules/npm/lib/install/validate-tree.js(87,16): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/npm/lib/install/validate-tree.js(89,15): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/install/writable.js(22,21): error TS2339: Property 'W_OK' does not exist on type 'typeof import("fs")'. node_modules/npm/lib/link.js(25,17): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. @@ -615,6 +617,7 @@ node_modules/npm/lib/outdated.js(245,11): error TS2339: Property 'config' does n node_modules/npm/lib/outdated.js(250,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/outdated.js(253,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/outdated.js(262,10): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/outdated.js(266,18): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/npm/lib/outdated.js(336,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/outdated.js(339,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. node_modules/npm/lib/owner.js(26,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. @@ -852,6 +855,7 @@ node_modules/npm/lib/utils/error-message.js(77,37): error TS2339: Property 'pref node_modules/npm/lib/utils/error-message.js(300,24): error TS2339: Property 'version' does not exist on type 'EventEmitter'. node_modules/npm/lib/utils/error-message.js(301,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. node_modules/npm/lib/utils/git.js(9,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/utils/is-registry.js(7,21): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. node_modules/npm/lib/utils/is-windows-bash.js(3,53): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. node_modules/npm/lib/utils/lifecycle-cmd.js(8,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. diff --git a/tests/baselines/reference/user/webpack.log b/tests/baselines/reference/user/webpack.log index 8e95e4ffe8e93..a37281505efe5 100644 --- a/tests/baselines/reference/user/webpack.log +++ b/tests/baselines/reference/user/webpack.log @@ -1,7 +1,19 @@ Exit Code: 2 Standard output: +lib/DelegatedModuleFactoryPlugin.js(34,27): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +lib/DelegatedModuleFactoryPlugin.js(50,30): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +lib/DelegatedModuleFactoryPlugin.js(74,22): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. lib/MultiCompiler.js(247,18): error TS2345: Argument of type '"Circular dependency found in compiler dependencies."' is not assignable to parameter of type '`${string} -> ${string}`'. lib/MultiCompiler.js(248,19): error TS2345: Argument of type 'string' is not assignable to parameter of type '`Compiler dependency \`${string}\` not found.`'. +lib/rules/RuleSetCompiler.js(97,21): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +lib/sharing/utils.js(65,18): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +lib/sharing/utils.js(72,18): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +lib/sharing/utils.js(79,18): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +lib/sharing/utils.js(86,18): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +lib/stats/DefaultStatsFactoryPlugin.js(636,17): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +lib/stats/DefaultStatsFactoryPlugin.js(638,31): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +lib/util/semver.js(184,13): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter. +lib/util/semver.js(220,18): error TS2361: The right-hand side of an 'in' expression must be of type 'any', an object type or a type parameter.