From bf421b2f9140b8d4384c06bc18f772129d55acad Mon Sep 17 00:00:00 2001 From: typescript-bot Date: Thu, 16 Jun 2022 18:02:05 +0000 Subject: [PATCH] Update user baselines +cc @sandersn --- .../user/chrome-devtools-frontend.log | 5 +- .../reference/user/enhanced-resolve.log | 16 +- .../reference/user/follow-redirects.log | 18 +- tests/baselines/reference/user/grunt.log | 36 +- tests/baselines/reference/user/npm.log | 231 +++--- tests/baselines/reference/user/puppeteer.log | 11 + tests/baselines/reference/user/uglify-js.log | 779 +++++++++--------- 7 files changed, 551 insertions(+), 545 deletions(-) create mode 100644 tests/baselines/reference/user/puppeteer.log diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index 6c992bce10217..80b545fc46919 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -11,7 +11,7 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(270,9): error TS2322: Type 'void' is not assignable to type 'undefined'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(280,5): error TS2322: Type 'Promise' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(525,9): error TS2322: Type 'Window' is not assignable to type 'Window & typeof globalThis'. - Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 889 more. + Type 'Window' is missing the following properties from type 'typeof globalThis': globalThis, eval, parseInt, parseFloat, and 787 more. node_modules/chrome-devtools-frontend/front_end/Runtime.js(527,55): error TS2352: Conversion of type 'Window & typeof globalThis' to type 'new () => any' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Type 'Window & typeof globalThis' provides no match for the signature 'new (): any'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(539,24): error TS2351: This expression is not constructable. @@ -6130,6 +6130,9 @@ node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(266,32): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(271,14): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(272,33): error TS2339: Property 'createChild' does not exist on type 'Element'. +node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(277,14): error TS2339: Property 'createChild' does not exist on type 'Element'. +node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(281,32): error TS2339: Property 'createChild' does not exist on type 'Element'. +node_modules/chrome-devtools-frontend/front_end/emulation/MediaQueryInspector.js(285,14): error TS2339: Property 'createChild' does not exist on type 'Element'. diff --git a/tests/baselines/reference/user/enhanced-resolve.log b/tests/baselines/reference/user/enhanced-resolve.log index 90c1430815693..c684bf9a94ec5 100644 --- a/tests/baselines/reference/user/enhanced-resolve.log +++ b/tests/baselines/reference/user/enhanced-resolve.log @@ -6,22 +6,20 @@ node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(124,3): error TS2532: node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(125,23): error TS2345: Argument of type 'Set | undefined' is not assignable to parameter of type 'Set'. Type 'undefined' is not assignable to type 'Set'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(127,18): error TS2769: No overload matches this call. - Overload 1 of 2, '(intervalId: Timeout): void', gave the following error. - Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'. - Type 'null' is not assignable to type 'Timeout'. + Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error. + Argument of type 'Timer | null' is not assignable to parameter of type 'string | number | Timeout | undefined'. + Type 'null' is not assignable to type 'string | number | Timeout | undefined'. Overload 2 of 2, '(id?: number | undefined): void', gave the following error. Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'. Type 'null' is not assignable to type 'number | undefined'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(143,18): error TS2769: No overload matches this call. - Overload 1 of 2, '(intervalId: Timeout): void', gave the following error. - Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'. - Type 'null' is not assignable to type 'Timeout'. + Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error. + Argument of type 'Timer | null' is not assignable to parameter of type 'string | number | Timeout | undefined'. Overload 2 of 2, '(id?: number | undefined): void', gave the following error. Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(162,18): error TS2769: No overload matches this call. - Overload 1 of 2, '(intervalId: Timeout): void', gave the following error. - Argument of type 'Timer | null' is not assignable to parameter of type 'Timeout'. - Type 'null' is not assignable to type 'Timeout'. + Overload 1 of 2, '(intervalId: string | number | Timeout | undefined): void', gave the following error. + Argument of type 'Timer | null' is not assignable to parameter of type 'string | number | Timeout | undefined'. Overload 2 of 2, '(id?: number | undefined): void', gave the following error. Argument of type 'Timer | null' is not assignable to parameter of type 'number | undefined'. node_modules/enhanced-resolve/lib/CachedInputFileSystem.js(192,20): error TS2322: Type 'null' is not assignable to type '(path: any, callback: any) => void'. diff --git a/tests/baselines/reference/user/follow-redirects.log b/tests/baselines/reference/user/follow-redirects.log index 4614e8cfe4414..0ac76cd103e1d 100644 --- a/tests/baselines/reference/user/follow-redirects.log +++ b/tests/baselines/reference/user/follow-redirects.log @@ -25,17 +25,13 @@ node_modules/follow-redirects/index.js(205,8): error TS2339: Property 'on' does node_modules/follow-redirects/index.js(206,8): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'. node_modules/follow-redirects/index.js(207,8): error TS2339: Property 'on' does not exist on type 'RedirectableRequest'. node_modules/follow-redirects/index.js(266,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. -node_modules/follow-redirects/index.js(302,16): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. -node_modules/follow-redirects/index.js(346,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. -node_modules/follow-redirects/index.js(361,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. -node_modules/follow-redirects/index.js(385,35): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -node_modules/follow-redirects/index.js(393,31): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. - Type 'undefined' is not assignable to type 'string'. -node_modules/follow-redirects/index.js(396,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. -node_modules/follow-redirects/index.js(422,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. -node_modules/follow-redirects/index.js(433,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. -node_modules/follow-redirects/index.js(555,25): error TS2339: Property 'code' does not exist on type 'Error'. +node_modules/follow-redirects/index.js(307,16): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. +node_modules/follow-redirects/index.js(351,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. +node_modules/follow-redirects/index.js(366,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. +node_modules/follow-redirects/index.js(412,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. +node_modules/follow-redirects/index.js(446,12): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. +node_modules/follow-redirects/index.js(457,10): error TS2339: Property 'emit' does not exist on type 'RedirectableRequest'. +node_modules/follow-redirects/index.js(579,25): error TS2339: Property 'code' does not exist on type 'Error'. diff --git a/tests/baselines/reference/user/grunt.log b/tests/baselines/reference/user/grunt.log index 7bde930dfcecf..cd645cdab78cd 100644 --- a/tests/baselines/reference/user/grunt.log +++ b/tests/baselines/reference/user/grunt.log @@ -25,24 +25,24 @@ lib/grunt/file.js(239,74): error TS2571: Object is of type 'unknown'. lib/grunt/file.js(263,74): error TS2571: Object is of type 'unknown'. lib/grunt/file.js(270,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. lib/grunt/file.js(288,86): error TS2571: Object is of type 'unknown'. -lib/grunt/file.js(341,7): error TS2367: This condition will always return 'false' since the types 'string | Buffer' and 'boolean' have no overlap. -lib/grunt/file.js(352,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. -lib/grunt/file.js(354,29): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. -lib/grunt/file.js(369,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. -lib/grunt/file.js(373,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. -lib/grunt/file.js(387,75): error TS2571: Object is of type 'unknown'. -lib/grunt/file.js(393,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. -lib/grunt/file.js(399,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. -lib/grunt/file.js(403,9): error TS2571: Object is of type 'unknown'. -lib/grunt/file.js(407,85): error TS2571: Object is of type 'unknown'. -lib/grunt/file.js(413,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. -lib/grunt/file.js(419,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. -lib/grunt/file.js(425,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. -lib/grunt/file.js(452,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. -lib/grunt/file.js(463,14): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. -lib/grunt/file.js(467,20): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. -lib/grunt/file.js(472,44): error TS2345: Argument of type 'string' is not assignable to parameter of type 'Type | null | undefined'. -lib/grunt/file.js(477,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. +lib/grunt/file.js(336,7): error TS2367: This condition will always return 'false' since the types 'string | Buffer' and 'boolean' have no overlap. +lib/grunt/file.js(347,23): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/file.js(349,29): error TS2339: Property 'option' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/file.js(364,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/file.js(368,13): error TS2339: Property 'fail' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/file.js(382,75): error TS2571: Object is of type 'unknown'. +lib/grunt/file.js(388,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. +lib/grunt/file.js(394,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. +lib/grunt/file.js(398,9): error TS2571: Object is of type 'unknown'. +lib/grunt/file.js(402,85): error TS2571: Object is of type 'unknown'. +lib/grunt/file.js(408,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. +lib/grunt/file.js(414,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. +lib/grunt/file.js(420,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. +lib/grunt/file.js(447,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. +lib/grunt/file.js(458,14): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/file.js(462,20): error TS2339: Property 'file' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. +lib/grunt/file.js(467,44): error TS2345: Argument of type 'string' is not assignable to parameter of type 'Type | null | undefined'. +lib/grunt/file.js(472,40): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'string[]'. lib/grunt/help.js(58,40): error TS2339: Property 'cli' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. lib/grunt/help.js(59,19): error TS2339: Property 'cli' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. lib/grunt/help.js(81,9): error TS2551: Property 'task' does not exist on type 'typeof import("/grunt/grunt/lib/grunt")'. Did you mean 'tasks'? diff --git a/tests/baselines/reference/user/npm.log b/tests/baselines/reference/user/npm.log index 0e59b2162282a..f8f62f8e54615 100644 --- a/tests/baselines/reference/user/npm.log +++ b/tests/baselines/reference/user/npm.log @@ -22,39 +22,32 @@ lib/cli.js(53,7): error TS2339: Property 'info' does not exist on type '{}'. lib/cli.js(81,9): error TS2571: Object is of type 'unknown'. lib/commands/access.js(24,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Access'. lib/commands/access.js(194,13): error TS2571: Object is of type 'unknown'. -lib/commands/adduser.js(13,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'AddUser'. -lib/commands/adduser.js(27,9): error TS2339: Property 'disableProgress' does not exist on type '{}'. -lib/commands/adduser.js(29,9): error TS2339: Property 'notice' does not exist on type '{}'. +lib/commands/adduser.js(14,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'AddUser'. +lib/commands/adduser.js(29,9): error TS2339: Property 'disableProgress' does not exist on type '{}'. +lib/commands/adduser.js(31,9): error TS2339: Property 'notice' does not exist on type '{}'. lib/commands/audit.js(9,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Audit'. lib/commands/bin.js(11,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Bin'. -lib/commands/bin.js(18,43): error TS2532: Object is possibly 'undefined'. +lib/commands/bin.js(18,29): error TS2532: Object is possibly 'undefined'. lib/commands/bin.js(19,11): error TS2339: Property 'error' does not exist on type '{}'. -lib/commands/birthday.js(4,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Birthday'. -lib/commands/bugs.js(9,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Bugs'. -lib/commands/bugs.js(26,9): error TS2339: Property 'silly' does not exist on type '{}'. -lib/commands/cache.js(71,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Cache'. -lib/commands/cache.js(146,13): error TS2339: Property 'warn' does not exist on type '{}'. -lib/commands/cache.js(160,9): error TS2339: Property 'silly' does not exist on type '{}'. -lib/commands/cache.js(166,11): error TS2339: Property 'silly' does not exist on type '{}'. -lib/commands/cache.js(179,34): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. +lib/commands/birthday.js(5,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Birthday'. +lib/commands/birthday.js(12,9): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/bugs.js(5,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Bugs'. +lib/commands/cache.js(68,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Cache'. +lib/commands/cache.js(143,13): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/cache.js(158,9): error TS2339: Property 'silly' does not exist on type '{}'. +lib/commands/cache.js(164,11): error TS2339: Property 'silly' does not exist on type '{}'. +lib/commands/cache.js(177,34): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. -lib/commands/cache.js(180,25): error TS2532: Object is possibly 'undefined'. -lib/commands/ci.js(13,16): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '"time"' is not assignable to parameter of type 'Signals'. -lib/commands/ci.js(18,16): error TS2769: No overload matches this call. - The last overload gave the following error. - Argument of type '"timeEnd"' is not assignable to parameter of type 'Signals'. -lib/commands/ci.js(24,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'CI'. -lib/commands/ci.js(35,11): error TS2339: Property 'code' does not exist on type 'Error'. -lib/commands/ci.js(51,13): error TS2339: Property 'verbose' does not exist on type '{}'. -lib/commands/completion.js(48,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Completion'. -lib/commands/completion.js(59,26): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. +lib/commands/cache.js(178,25): error TS2532: Object is possibly 'undefined'. +lib/commands/ci.js(15,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'CI'. +lib/commands/ci.js(41,11): error TS2339: Property 'verbose' does not exist on type '{}'. +lib/commands/completion.js(56,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Completion'. +lib/commands/completion.js(67,26): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. -lib/commands/completion.js(60,26): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. +lib/commands/completion.js(68,26): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. -lib/commands/completion.js(220,9): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments. -lib/commands/completion.js(232,7): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments. +lib/commands/completion.js(226,9): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments. +lib/commands/completion.js(238,7): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments. lib/commands/config.js(47,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Config'. lib/commands/config.js(104,9): error TS2339: Property 'warn' does not exist on type '{}'. lib/commands/config.js(109,9): error TS2339: Property 'disableProgress' does not exist on type '{}'. @@ -81,31 +74,31 @@ lib/commands/dist-tag.js(125,9): error TS2339: Property 'verbose' does not exist lib/commands/dist-tag.js(133,11): error TS2339: Property 'info' does not exist on type '{}'. lib/commands/dist-tag.js(170,11): error TS2339: Property 'error' does not exist on type '{}'. lib/commands/dist-tag.js(178,24): error TS2532: Object is possibly 'undefined'. -lib/commands/docs.js(8,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Docs'. -lib/commands/docs.js(37,9): error TS2339: Property 'silly' does not exist on type '{}'. -lib/commands/doctor.js(41,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Doctor'. -lib/commands/doctor.js(46,9): error TS2339: Property 'info' does not exist on type '{}'. -lib/commands/doctor.js(98,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'. -lib/commands/doctor.js(98,36): error TS2538: Type 'any[]' cannot be used as an index type. -lib/commands/doctor.js(100,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'. -lib/commands/doctor.js(112,11): error TS2322: Type 'string | false | any[]' is not assignable to type 'boolean'. - Type 'string' is not assignable to type 'boolean'. -lib/commands/doctor.js(118,11): error TS2322: Type 'string | false | any[]' is not assignable to type 'boolean'. -lib/commands/doctor.js(141,25): error TS2339: Property 'newItem' does not exist on type '{}'. -lib/commands/doctor.js(147,27): error TS2571: Object is of type 'unknown'. -lib/commands/doctor.js(148,15): error TS2571: Object is of type 'unknown'. -lib/commands/doctor.js(148,40): error TS2571: Object is of type 'unknown'. -lib/commands/doctor.js(150,15): error TS2571: Object is of type 'unknown'. -lib/commands/doctor.js(158,25): error TS2339: Property 'newItem' does not exist on type '{}'. -lib/commands/doctor.js(177,25): error TS2339: Property 'newItem' does not exist on type '{}'. -lib/commands/doctor.js(207,25): error TS2339: Property 'newItem' does not exist on type '{}'. -lib/commands/doctor.js(272,25): error TS2339: Property 'newItem' does not exist on type '{}'. -lib/commands/doctor.js(285,25): error TS2339: Property 'newItem' does not exist on type '{}'. +lib/commands/docs.js(4,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Docs'. +lib/commands/doctor.js(40,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Doctor'. +lib/commands/doctor.js(45,9): error TS2339: Property 'info' does not exist on type '{}'. +lib/commands/doctor.js(97,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'. +lib/commands/doctor.js(97,36): error TS2538: Type 'any[]' cannot be used as an index type. +lib/commands/doctor.js(99,19): error TS2345: Argument of type 'boolean' is not assignable to parameter of type 'string | any[]'. +lib/commands/doctor.js(131,25): error TS2339: Property 'newItem' does not exist on type '{}'. +lib/commands/doctor.js(137,27): error TS2571: Object is of type 'unknown'. +lib/commands/doctor.js(138,15): error TS2571: Object is of type 'unknown'. +lib/commands/doctor.js(138,40): error TS2571: Object is of type 'unknown'. +lib/commands/doctor.js(140,15): error TS2571: Object is of type 'unknown'. +lib/commands/doctor.js(148,25): error TS2339: Property 'newItem' does not exist on type '{}'. +lib/commands/doctor.js(167,25): error TS2339: Property 'newItem' does not exist on type '{}'. +lib/commands/doctor.js(197,25): error TS2339: Property 'newItem' does not exist on type '{}'. +lib/commands/doctor.js(200,19): error TS2532: Object is possibly 'undefined'. +lib/commands/doctor.js(200,19): error TS2722: Cannot invoke an object which is possibly 'undefined'. +lib/commands/doctor.js(201,19): error TS2532: Object is possibly 'undefined'. +lib/commands/doctor.js(201,19): error TS2722: Cannot invoke an object which is possibly 'undefined'. +lib/commands/doctor.js(262,25): error TS2339: Property 'newItem' does not exist on type '{}'. +lib/commands/doctor.js(275,25): error TS2339: Property 'newItem' does not exist on type '{}'. lib/commands/edit.js(34,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Edit'. lib/commands/exec.js(40,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Exec'. lib/commands/exec.js(51,24): error TS2525: Initializer provides no value for this binding element and the binding element has no default value. lib/commands/exec.js(51,37): error TS2525: Initializer provides no value for this binding element and the binding element has no default value. -lib/commands/exec.js(94,24): error TS2532: Object is possibly 'undefined'. +lib/commands/exec.js(97,24): error TS2532: Object is possibly 'undefined'. lib/commands/explain.js(12,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Explain'. lib/commands/explain.js(24,33): error TS2554: Expected 0-1 arguments, but got 2. lib/commands/explore.js(13,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Explore'. @@ -133,15 +126,15 @@ lib/commands/help.js(136,12): error TS2339: Property 'on' does not exist on type The intersection 'ChildProcessWithoutNullStreams & ChildProcessByStdio & ... 7 more ... & ChildProcess' was reduced to 'never' because property 'stdin' has conflicting types in some constituents. lib/commands/help.js(141,16): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments. lib/commands/hook.js(9,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Hook'. -lib/commands/init.js(18,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Init'. -lib/commands/init.js(129,9): error TS2339: Property 'pause' does not exist on type '{}'. -lib/commands/init.js(130,9): error TS2339: Property 'disableProgress' does not exist on type '{}'. -lib/commands/init.js(151,13): error TS2339: Property 'resume' does not exist on type '{}'. -lib/commands/init.js(152,13): error TS2339: Property 'enableProgress' does not exist on type '{}'. -lib/commands/init.js(153,13): error TS2339: Property 'silly' does not exist on type '{}'. -lib/commands/init.js(155,15): error TS2339: Property 'warn' does not exist on type '{}'. -lib/commands/init.js(156,18): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments. -lib/commands/init.js(161,15): error TS2339: Property 'info' does not exist on type '{}'. +lib/commands/init.js(27,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Init'. +lib/commands/init.js(144,9): error TS2339: Property 'pause' does not exist on type '{}'. +lib/commands/init.js(145,9): error TS2339: Property 'disableProgress' does not exist on type '{}'. +lib/commands/init.js(166,13): error TS2339: Property 'resume' does not exist on type '{}'. +lib/commands/init.js(167,13): error TS2339: Property 'enableProgress' does not exist on type '{}'. +lib/commands/init.js(168,13): error TS2339: Property 'silly' does not exist on type '{}'. +lib/commands/init.js(170,15): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/init.js(171,18): error TS2810: Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments. +lib/commands/init.js(176,15): error TS2339: Property 'info' does not exist on type '{}'. lib/commands/install-ci-test.js(8,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'InstallCITest'. lib/commands/install-test.js(8,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'InstallTest'. lib/commands/install.js(16,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Install'. @@ -163,15 +156,17 @@ lib/commands/outdated.js(261,9): error TS2571: Object is of type 'unknown'. lib/commands/outdated.js(262,9): error TS2571: Object is of type 'unknown'. lib/commands/outdated.js(263,9): error TS2571: Object is of type 'unknown'. lib/commands/owner.js(21,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Owner'. -lib/commands/owner.js(99,11): error TS2339: Property 'error' does not exist on type '{}'. -lib/commands/owner.js(125,9): error TS2339: Property 'verbose' does not exist on type '{}'. -lib/commands/owner.js(134,11): error TS2339: Property 'error' does not exist on type '{}'. -lib/commands/owner.js(152,13): error TS2339: Property 'info' does not exist on type '{}'. -lib/commands/owner.js(166,13): error TS2339: Property 'info' does not exist on type '{}'. -lib/commands/owner.js(202,65): error TS2571: Object is of type 'unknown'. +lib/commands/owner.js(91,13): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/owner.js(96,26): error TS2532: Object is possibly 'undefined'. +lib/commands/owner.js(122,11): error TS2339: Property 'error' does not exist on type '{}'. +lib/commands/owner.js(148,9): error TS2339: Property 'verbose' does not exist on type '{}'. +lib/commands/owner.js(157,11): error TS2339: Property 'error' does not exist on type '{}'. +lib/commands/owner.js(175,13): error TS2339: Property 'info' does not exist on type '{}'. +lib/commands/owner.js(189,13): error TS2339: Property 'info' does not exist on type '{}'. +lib/commands/owner.js(225,65): error TS2571: Object is of type 'unknown'. lib/commands/pack.js(10,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Pack'. -lib/commands/pack.js(70,11): error TS2339: Property 'warn' does not exist on type '{}'. -lib/commands/pack.js(75,26): error TS2488: Type 'any[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator. +lib/commands/pack.js(74,11): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/pack.js(79,26): error TS2488: Type 'any[] | undefined' must have a '[Symbol.iterator]()' method that returns an iterator. lib/commands/ping.js(8,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Ping'. lib/commands/ping.js(12,9): error TS2339: Property 'notice' does not exist on type '{}'. lib/commands/ping.js(16,9): error TS2339: Property 'notice' does not exist on type '{}'. @@ -191,17 +186,16 @@ lib/commands/profile.js(331,9): error TS2339: Property 'info' does not exist on lib/commands/profile.js(361,9): error TS2339: Property 'info' does not exist on type '{}'. lib/commands/profile.js(395,9): error TS2339: Property 'info' does not exist on type '{}'. lib/commands/prune.js(8,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Prune'. -lib/commands/publish.js(30,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Publish'. -lib/commands/publish.js(52,9): error TS2339: Property 'verbose' does not exist on type '{}'. -lib/commands/publish.js(106,13): error TS2339: Property 'warn' does not exist on type '{}'. -lib/commands/publish.js(112,9): error TS2339: Property 'notice' does not exist on type '{}'. -lib/commands/publish.js(158,37): error TS2532: Object is possibly 'undefined'. -lib/commands/publish.js(163,13): error TS2571: Object is of type 'unknown'. -lib/commands/publish.js(164,15): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/publish.js(29,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Publish'. +lib/commands/publish.js(51,9): error TS2339: Property 'verbose' does not exist on type '{}'. +lib/commands/publish.js(110,13): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/publish.js(116,9): error TS2339: Property 'notice' does not exist on type '{}'. +lib/commands/publish.js(160,37): error TS2532: Object is possibly 'undefined'. +lib/commands/publish.js(165,13): error TS2571: Object is of type 'unknown'. +lib/commands/publish.js(166,15): error TS2339: Property 'warn' does not exist on type '{}'. lib/commands/rebuild.js(10,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Rebuild'. lib/commands/rebuild.js(24,33): error TS2554: Expected 0-1 arguments, but got 2. -lib/commands/repo.js(10,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Repo'. -lib/commands/repo.js(60,9): error TS2339: Property 'silly' does not exist on type '{}'. +lib/commands/repo.js(6,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Repo'. lib/commands/restart.js(6,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Restart'. lib/commands/root.js(4,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Root'. lib/commands/run-script.js(19,20): error TS2769: No overload matches this call. @@ -221,20 +215,21 @@ lib/commands/run-script.js(214,13): error TS2339: Property 'error' does not exis lib/commands/run-script.js(244,35): error TS2532: Object is possibly 'undefined'. lib/commands/run-script.js(253,35): error TS2532: Object is possibly 'undefined'. lib/commands/run-script.js(262,33): error TS2532: Object is possibly 'undefined'. -lib/commands/search.js(31,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Search'. -lib/commands/search.js(81,9): error TS2339: Property 'silly' does not exist on type '{}'. -lib/commands/search.js(100,9): error TS2339: Property 'silly' does not exist on type '{}'. -lib/commands/search.js(101,9): error TS2339: Property 'clearProgress' does not exist on type '{}'. +lib/commands/search.js(38,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Search'. +lib/commands/search.js(88,9): error TS2339: Property 'silly' does not exist on type '{}'. +lib/commands/search.js(107,9): error TS2339: Property 'silly' does not exist on type '{}'. +lib/commands/search.js(108,9): error TS2339: Property 'clearProgress' does not exist on type '{}'. lib/commands/set-script.js(10,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'SetScript'. -lib/commands/set-script.js(39,11): error TS2339: Property 'warn' does not exist on type '{}'. -lib/commands/set-script.js(47,32): error TS2532: Object is possibly 'undefined'. -lib/commands/set-script.js(51,15): error TS2339: Property 'warn' does not exist on type '{}'. -lib/commands/set-script.js(52,15): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/set-script.js(37,9): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/set-script.js(41,11): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/set-script.js(49,32): error TS2532: Object is possibly 'undefined'. lib/commands/set-script.js(53,15): error TS2339: Property 'warn' does not exist on type '{}'. -lib/commands/set-script.js(56,13): error TS2339: Property 'error' does not exist on type '{}'. -lib/commands/set-script.js(56,33): error TS2571: Object is of type 'unknown'. -lib/commands/set-script.js(57,13): error TS2339: Property 'error' does not exist on type '{}'. +lib/commands/set-script.js(54,15): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/set-script.js(55,15): error TS2339: Property 'warn' does not exist on type '{}'. lib/commands/set-script.js(58,13): error TS2339: Property 'error' does not exist on type '{}'. +lib/commands/set-script.js(58,33): error TS2571: Object is of type 'unknown'. +lib/commands/set-script.js(59,13): error TS2339: Property 'error' does not exist on type '{}'. +lib/commands/set-script.js(60,13): error TS2339: Property 'error' does not exist on type '{}'. lib/commands/set.js(5,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Set'. lib/commands/shrinkwrap.js(8,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Shrinkwrap'. lib/commands/shrinkwrap.js(20,10): error TS2339: Property 'code' does not exist on type 'Error'. @@ -243,11 +238,11 @@ lib/commands/shrinkwrap.js(63,11): error TS2339: Property 'notice' does not exis lib/commands/shrinkwrap.js(65,11): error TS2339: Property 'notice' does not exist on type '{}'. lib/commands/shrinkwrap.js(67,11): error TS2339: Property 'notice' does not exist on type '{}'. lib/commands/star.js(9,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Star'. +lib/commands/star.js(49,13): error TS2339: Property 'info' does not exist on type '{}'. +lib/commands/star.js(51,13): error TS2339: Property 'verbose' does not exist on type '{}'. lib/commands/star.js(54,13): error TS2339: Property 'info' does not exist on type '{}'. -lib/commands/star.js(56,13): error TS2339: Property 'verbose' does not exist on type '{}'. -lib/commands/star.js(59,13): error TS2339: Property 'info' does not exist on type '{}'. -lib/commands/star.js(60,13): error TS2339: Property 'verbose' does not exist on type '{}'. -lib/commands/star.js(71,11): error TS2339: Property 'verbose' does not exist on type '{}'. +lib/commands/star.js(55,13): error TS2339: Property 'verbose' does not exist on type '{}'. +lib/commands/star.js(66,11): error TS2339: Property 'verbose' does not exist on type '{}'. lib/commands/stars.js(8,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Stars'. lib/commands/stars.js(24,13): error TS2339: Property 'warn' does not exist on type '{}'. lib/commands/stars.js(31,11): error TS2571: Object is of type 'unknown'. @@ -262,8 +257,8 @@ lib/commands/token.js(56,9): error TS2339: Property 'info' does not exist on typ lib/commands/token.js(101,26): error TS2339: Property 'newItem' does not exist on type '{}'. lib/commands/token.js(147,13): error TS2339: Property 'info' does not exist on type '{}'. lib/commands/uninstall.js(11,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Uninstall'. -lib/commands/uninstall.js(38,15): error TS2571: Object is of type 'unknown'. -lib/commands/uninstall.js(38,39): error TS2571: Object is of type 'unknown'. +lib/commands/uninstall.js(37,15): error TS2571: Object is of type 'unknown'. +lib/commands/uninstall.js(37,39): error TS2571: Object is of type 'unknown'. lib/commands/unpublish.js(21,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Unpublish'. lib/commands/unpublish.js(78,9): error TS2339: Property 'silly' does not exist on type '{}'. lib/commands/unpublish.js(79,9): error TS2339: Property 'silly' does not exist on type '{}'. @@ -275,38 +270,40 @@ lib/commands/unstar.js(5,10): error TS2699: Static property 'name' conflicts wit lib/commands/update.js(12,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Update'. lib/commands/update.js(36,33): error TS2554: Expected 0-1 arguments, but got 2. lib/commands/update.js(53,11): error TS2339: Property 'warn' does not exist on type '{}'. -lib/commands/version.js(13,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Version'. -lib/commands/version.js(89,32): error TS2532: Object is possibly 'undefined'. -lib/commands/version.js(128,24): error TS2532: Object is possibly 'undefined'. +lib/commands/version.js(11,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Version'. +lib/commands/version.js(87,32): error TS2532: Object is possibly 'undefined'. +lib/commands/version.js(126,24): error TS2532: Object is possibly 'undefined'. lib/commands/view.js(26,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'View'. -lib/commands/view.js(125,13): error TS2339: Property 'silly' does not exist on type '{}'. -lib/commands/view.js(129,11): error TS2339: Property 'disableProgress' does not exist on type '{}'. -lib/commands/view.js(147,11): error TS2339: Property 'warn' does not exist on type '{}'. -lib/commands/view.js(157,24): error TS2532: Object is possibly 'undefined'. -lib/commands/view.js(165,13): error TS2339: Property 'silly' does not exist on type '{}'. -lib/commands/view.js(214,10): error TS2339: Property 'statusCode' does not exist on type 'Error'. -lib/commands/view.js(215,10): error TS2339: Property 'code' does not exist on type 'Error'. -lib/commands/view.js(216,10): error TS2339: Property 'pkgid' does not exist on type 'Error'. +lib/commands/view.js(122,13): error TS2339: Property 'silly' does not exist on type '{}'. +lib/commands/view.js(126,11): error TS2339: Property 'disableProgress' does not exist on type '{}'. +lib/commands/view.js(144,11): error TS2339: Property 'warn' does not exist on type '{}'. +lib/commands/view.js(154,24): error TS2532: Object is possibly 'undefined'. +lib/commands/view.js(162,13): error TS2339: Property 'silly' does not exist on type '{}'. +lib/commands/view.js(211,10): error TS2339: Property 'statusCode' does not exist on type 'Error'. +lib/commands/view.js(212,10): error TS2339: Property 'code' does not exist on type 'Error'. +lib/commands/view.js(213,10): error TS2339: Property 'pkgid' does not exist on type 'Error'. lib/commands/whoami.js(6,10): error TS2699: Static property 'name' conflicts with built-in property 'Function.name' of constructor function 'Whoami'. lib/npm.js(45,5): error TS2322: Type '(name: any, ms: any) => void' is not assignable to type 'null | undefined'. lib/npm.js(60,29): error TS2339: Property 'version' does not exist on type 'Function'. lib/npm.js(124,15): error TS2339: Property 'error' does not exist on type '{}'. -lib/npm.js(181,17): error TS2339: Property 'warn' does not exist on type '{}'. -lib/npm.js(237,11): error TS2339: Property 'verbose' does not exist on type '{}'. -lib/npm.js(254,27): error TS2339: Property 'warn' does not exist on type '{}'. +lib/npm.js(180,17): error TS2339: Property 'warn' does not exist on type '{}'. +lib/npm.js(236,11): error TS2339: Property 'verbose' does not exist on type '{}'. +lib/npm.js(253,27): error TS2339: Property 'warn' does not exist on type '{}'. +lib/npm.js(269,11): error TS2339: Property 'verbose' does not exist on type '{}'. lib/npm.js(270,11): error TS2339: Property 'verbose' does not exist on type '{}'. -lib/npm.js(271,11): error TS2339: Property 'verbose' does not exist on type '{}'. -lib/npm.js(271,47): error TS2345: Argument of type '{ (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | ... 1 more ... | undefined): string; }' is not assignable to parameter of type '(value: any, index: number, array: any[]) => string'. +lib/npm.js(270,47): error TS2345: Argument of type '{ (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | ... 1 more ... | undefined): string; }' is not assignable to parameter of type '(value: any, index: number, array: any[]) => string'. Types of parameters 'replacer' and 'index' are incompatible. Type 'number' is not assignable to type '(this: any, key: string, value: any) => any'. -lib/npm.js(293,11): error TS2339: Property 'verbose' does not exist on type '{}'. -lib/npm.js(434,7): error TS2322: Type 'string' is not assignable to type 'null'. -lib/npm.js(436,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'. -lib/npm.js(441,9): error TS2339: Property 'clearProgress' does not exist on type '{}'. -lib/npm.js(444,9): error TS2339: Property 'showProgress' does not exist on type '{}'. -lib/npm.js(448,9): error TS2339: Property 'clearProgress' does not exist on type '{}'. -lib/npm.js(451,9): error TS2339: Property 'showProgress' does not exist on type '{}'. -lib/search/format-package-stream.js(41,19): error TS2339: Property 'emit' does not exist on type 'JSONOutputStream'. +lib/npm.js(292,11): error TS2339: Property 'verbose' does not exist on type '{}'. +lib/npm.js(330,7): error TS2322: Type 'Chalk' is not assignable to type 'null'. +lib/npm.js(448,7): error TS2322: Type 'string' is not assignable to type 'null'. +lib/npm.js(450,44): error TS2345: Argument of type 'null' is not assignable to parameter of type 'string'. +lib/npm.js(455,9): error TS2339: Property 'clearProgress' does not exist on type '{}'. +lib/npm.js(458,9): error TS2339: Property 'showProgress' does not exist on type '{}'. +lib/npm.js(462,9): error TS2339: Property 'clearProgress' does not exist on type '{}'. +lib/npm.js(465,9): error TS2339: Property 'showProgress' does not exist on type '{}'. +lib/package-url-cmd.js(36,24): error TS2339: Property 'getUrl' does not exist on type 'PackageUrlCommand'. +lib/package-url-cmd.js(37,11): error TS2339: Property 'silly' does not exist on type '{}'. lib/utils/audit-error.js(20,7): error TS2339: Property 'warn' does not exist on type '{}'. lib/utils/config/definition.js(43,52): error TS2339: Property 'default' does not exist on type 'Definition'. lib/utils/config/definition.js(46,48): error TS2339: Property 'type' does not exist on type 'Definition'. @@ -326,7 +323,7 @@ lib/utils/config/definitions.js(73,41): error TS2769: No overload matches this c Argument of type 'string[]' is not assignable to parameter of type 'ConcatArray'. lib/utils/config/definitions.js(80,3): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. -lib/utils/config/index.js(36,22): error TS2322: Type 'string' is not assignable to type 'never'. +lib/utils/config/index.js(37,22): error TS2322: Type 'string' is not assignable to type 'never'. lib/utils/display.js(15,9): error TS2339: Property 'pause' does not exist on type '{}'. lib/utils/display.js(28,9): error TS2339: Property 'tracker' does not exist on type '{}'. lib/utils/display.js(44,11): error TS2339: Property 'level' does not exist on type '{}'. @@ -341,6 +338,8 @@ lib/utils/display.js(67,11): error TS2339: Property 'disableProgress' does not e lib/utils/display.js(71,9): error TS2339: Property 'resume' does not exist on type '{}'. lib/utils/display.js(112,50): error TS2339: Property 'useColor' does not exist on type '{}'. lib/utils/error-message.js(67,13): error TS2339: Property 'verbose' does not exist on type '{}'. +lib/utils/error-message.js(76,32): error TS2722: Cannot invoke an object which is possibly 'undefined'. +lib/utils/error-message.js(76,52): error TS2722: Cannot invoke an object which is possibly 'undefined'. lib/utils/exit-handler.js(15,7): error TS2339: Property 'disableProgress' does not exist on type '{}'. lib/utils/exit-handler.js(19,16): error TS2769: No overload matches this call. The last overload gave the following error. diff --git a/tests/baselines/reference/user/puppeteer.log b/tests/baselines/reference/user/puppeteer.log new file mode 100644 index 0000000000000..05ff360e313cf --- /dev/null +++ b/tests/baselines/reference/user/puppeteer.log @@ -0,0 +1,11 @@ +Exit Code: 2 +Standard output: +vendor/mitt/src/index.ts(57,21): error TS2532: Object is possibly 'undefined'. +vendor/mitt/src/index.ts(60,5): error TS2532: Object is possibly 'undefined'. +vendor/mitt/src/index.ts(71,21): error TS2532: Object is possibly 'undefined'. +vendor/mitt/src/index.ts(88,6): error TS2532: Object is possibly 'undefined'. +vendor/mitt/src/index.ts(89,6): error TS2532: Object is possibly 'undefined'. + + + +Standard error: diff --git a/tests/baselines/reference/user/uglify-js.log b/tests/baselines/reference/user/uglify-js.log index 9c5a13e3322f8..6d7608a474bda 100644 --- a/tests/baselines/reference/user/uglify-js.log +++ b/tests/baselines/reference/user/uglify-js.log @@ -5,290 +5,292 @@ node_modules/uglify-js/lib/ast.js(391,38): error TS2554: Expected 0 arguments, b node_modules/uglify-js/lib/ast.js(604,33): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/ast.js(2032,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 | ... 1 more ... | 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/compress.js(215,22): error TS2339: Property 'option' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(218,22): error TS2339: Property 'exposed' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(224,16): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(227,22): error TS2339: Property 'compress' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(244,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(783,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(877,16): error TS2339: Property 'walk' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(877,36): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(887,28): error TS2339: Property 'uses_arguments' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(888,16): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(891,32): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(897,27): error TS2339: Property 'rest' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(899,24): error TS2339: Property 'rest' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(901,58): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. -node_modules/uglify-js/lib/compress.js(967,21): error TS2454: Variable 'lazy' is used before being assigned. +node_modules/uglify-js/lib/compress.js(134,38): error TS2339: Property 'directives' does not exist on type 'this & TreeTransformer'. +node_modules/uglify-js/lib/compress.js(217,22): error TS2339: Property 'option' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(220,22): error TS2339: Property 'exposed' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(226,16): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(229,22): error TS2339: Property 'compress' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(246,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(785,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(879,16): error TS2339: Property 'walk' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(879,36): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(889,28): error TS2339: Property 'uses_arguments' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(890,16): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(893,32): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(899,27): error TS2339: Property 'rest' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(901,24): error TS2339: Property 'rest' does not exist on type 'reduce_iife'. +node_modules/uglify-js/lib/compress.js(903,58): error TS2339: Property 'argnames' does not exist on type 'reduce_iife'. node_modules/uglify-js/lib/compress.js(969,21): error TS2454: Variable 'lazy' is used before being assigned. -node_modules/uglify-js/lib/compress.js(1085,32): error TS2454: Variable 'drop' is used before being assigned. -node_modules/uglify-js/lib/compress.js(1268,20): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1268,46): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1268,72): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1273,26): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1323,26): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1341,56): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1345,26): error TS2339: Property 'in_arg' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1346,34): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1355,49): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1368,42): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(1528,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1533,12): error TS2339: Property 'fn_scanning' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1534,12): error TS2339: Property 'fn_visited' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1536,12): error TS2339: Property 'in_loop' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1537,12): error TS2339: Property 'loop_ids' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1542,12): error TS2339: Property 'safe_ids' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(1601,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1629,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(1822,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2002,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2054,51): error TS2349: This expression is not callable. +node_modules/uglify-js/lib/compress.js(971,21): error TS2454: Variable 'lazy' is used before being assigned. +node_modules/uglify-js/lib/compress.js(1087,32): error TS2454: Variable 'drop' is used before being assigned. +node_modules/uglify-js/lib/compress.js(1270,20): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1270,46): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1270,72): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1275,26): error TS2339: Property 'name' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1325,26): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1343,56): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1347,26): error TS2339: Property 'in_arg' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1348,34): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1357,49): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1370,42): error TS2339: Property 'scope' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(1530,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1535,12): error TS2339: Property 'fn_scanning' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1536,12): error TS2339: Property 'fn_visited' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1538,12): error TS2339: Property 'in_loop' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1539,12): error TS2339: Property 'loop_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1544,12): error TS2339: Property 'safe_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(1606,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1634,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(1827,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2007,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2059,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(2129,61): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2185,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2205,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2289,77): error TS2454: Variable 'args' is used before being assigned. -node_modules/uglify-js/lib/compress.js(2290,33): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(2290,42): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(2298,42): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(2298,54): error TS2365: Operator '+' cannot be applied to types 'number' and 'boolean'. -node_modules/uglify-js/lib/compress.js(2311,25): error TS2322: Type 'boolean' is not assignable to type 'number'. -node_modules/uglify-js/lib/compress.js(2315,25): error TS2322: Type 'boolean' is not assignable to type 'never'. -node_modules/uglify-js/lib/compress.js(2316,35): error TS2339: Property 'single_use' does not exist on type 'never'. -node_modules/uglify-js/lib/compress.js(2560,65): error TS2339: Property 'find_parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(2563,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2742,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2772,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2783,37): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2784,25): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2786,25): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2798,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2801,35): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(2843,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2877,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2892,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(2912,35): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3025,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3046,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3082,43): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3105,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3115,75): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(3125,79): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(3324,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(2134,61): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2190,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2210,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2294,77): error TS2454: Variable 'args' is used before being assigned. +node_modules/uglify-js/lib/compress.js(2295,33): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(2295,42): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(2303,42): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(2303,54): error TS2365: Operator '+' cannot be applied to types 'number' and 'boolean'. +node_modules/uglify-js/lib/compress.js(2316,25): error TS2322: Type 'boolean' is not assignable to type 'number'. +node_modules/uglify-js/lib/compress.js(2320,25): error TS2322: Type 'boolean' is not assignable to type 'never'. +node_modules/uglify-js/lib/compress.js(2321,35): error TS2339: Property 'single_use' does not exist on type 'never'. +node_modules/uglify-js/lib/compress.js(2572,65): error TS2339: Property 'find_parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(2575,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2754,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2784,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2795,37): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2796,25): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2798,25): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2810,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2813,35): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(2855,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2889,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2904,39): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(2924,35): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3037,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3058,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3094,43): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3117,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3127,75): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(3137,79): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(3336,53): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. Source provides no match for required element at position 0 in target. -node_modules/uglify-js/lib/compress.js(3487,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(3499,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. Source provides no match for required element at position 0 in target. -node_modules/uglify-js/lib/compress.js(3549,60): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(3561,60): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. Type 'any' is not assignable to type 'never'. -node_modules/uglify-js/lib/compress.js(3721,59): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(3759,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(3813,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(4065,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(4092,27): error TS2339: Property 'required' does not exist on type 'any[]'. -node_modules/uglify-js/lib/compress.js(4095,43): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(4138,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4142,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(4189,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4193,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(4258,22): error TS2339: Property 'is_undefined' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4260,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4261,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4262,28): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4266,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4319,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(4320,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4321,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4322,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4326,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(4368,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4372,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(4455,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4465,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(4516,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(4520,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(4795,44): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5040,58): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. -node_modules/uglify-js/lib/compress.js(5041,25): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(5041,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(5041,56): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/compress.js(5058,48): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5069,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5077,24): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(5184,54): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5203,40): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(5270,22): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5271,50): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5272,17): error TS2630: Cannot assign to 'decode' because it is a function. -node_modules/uglify-js/lib/compress.js(5276,39): error TS2339: Property 'expressions' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5279,35): error TS2339: Property 'strings' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5281,47): error TS2339: Property 'strings' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5657,26): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5658,22): error TS2339: Property 'is_expr_pure' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5660,43): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5661,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(5729,26): error TS2339: Property 'expressions' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5730,22): error TS2339: Property 'is_expr_pure' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5731,23): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5733,43): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(5734,20): error TS2790: The operand of a 'delete' operator must be optional. -node_modules/uglify-js/lib/compress.js(5783,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(5803,29): error TS2322: Type 'string' is not assignable to type 'boolean'. -node_modules/uglify-js/lib/compress.js(6023,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6029,49): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6078,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6108,30): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6110,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6120,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6175,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(6175,61): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6180,50): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6285,105): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6479,56): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(6480,54): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(6605,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6606,74): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6625,35): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6651,28): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(6732,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6744,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(6832,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(6845,35): error TS2339: Property 'assign' does not exist on type 'any[]'. -node_modules/uglify-js/lib/compress.js(6846,48): error TS2339: Property 'assign' does not exist on type 'any[]'. -node_modules/uglify-js/lib/compress.js(6929,38): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(6932,33): error TS2403: Subsequent variable declarations must have the same type. Variable 'trimmed' must be of type 'any', but here has type '{ name: any; value: any; }'. -node_modules/uglify-js/lib/compress.js(6942,60): error TS2339: Property 'has_directive' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(6968,42): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(7201,56): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(7246,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'trimmed' must be of type 'any', but here has type '{ name: any; value: any; }'. -node_modules/uglify-js/lib/compress.js(7287,80): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(7317,61): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(7320,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(7457,36): error TS2339: Property 'assign' does not exist on type 'any[]'. -node_modules/uglify-js/lib/compress.js(7841,18): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7841,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(7865,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(7874,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. -node_modules/uglify-js/lib/compress.js(7880,33): error TS2339: Property 'find_variable' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7901,14): error TS2339: Property 'transform' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7905,50): error TS2339: Property 'each_argname' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(7972,32): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(8100,31): error TS2322: Type 'Dictionary' is not assignable to type 'undefined'. -node_modules/uglify-js/lib/compress.js(8101,18): error TS2339: Property 'enclosed' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8102,17): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(8104,18): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8105,17): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(8170,22): error TS2551: Property 'value' does not exist on type 'Dictionary'. Did you mean 'values'? -node_modules/uglify-js/lib/compress.js(8192,22): error TS2551: Property 'value' does not exist on type 'Dictionary'. Did you mean 'values'? -node_modules/uglify-js/lib/compress.js(8334,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(8336,24): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(8410,29): error TS2339: Property 'left' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8417,30): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8420,25): error TS2339: Property 'right' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8483,22): error TS2339: Property 'is_expr_pure' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8484,26): error TS2339: Property 'pure' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8484,99): error TS2339: Property 'start' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8485,38): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8488,28): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8489,22): error TS2339: Property 'is_call_pure' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8490,34): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8496,33): error TS2339: Property 'clone' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8505,29): error TS2339: Property 'clone' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8506,22): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8508,41): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8515,42): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8522,30): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8522,48): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8523,30): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8523,42): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8717,28): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8718,41): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8722,22): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8727,42): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/compress.js(8758,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(8760,44): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(8764,56): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(8765,12): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(8833,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(8889,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(8904,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(9020,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(9046,21): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(9046,32): error TS2322: Type 'number | undefined' is not assignable to type 'number'. +node_modules/uglify-js/lib/compress.js(3733,59): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3771,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(3825,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(4077,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4104,27): error TS2339: Property 'required' does not exist on type 'any[]'. +node_modules/uglify-js/lib/compress.js(4107,43): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(4169,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4173,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4220,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4224,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4289,22): error TS2339: Property 'is_undefined' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4291,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4292,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4293,28): error TS2339: Property 'definition' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4297,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4350,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(4351,49): error TS2339: Property 'is_declared' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4352,22): error TS2339: Property 'is_immutable' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4353,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4357,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4399,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4403,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4486,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4496,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4547,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(4551,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(4826,44): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5071,58): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. +node_modules/uglify-js/lib/compress.js(5072,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(5072,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(5072,56): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/compress.js(5089,48): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5100,30): error TS2339: Property 'fixed_value' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5108,24): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(5215,54): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5234,40): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(5301,22): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5302,50): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5303,17): error TS2630: Cannot assign to 'decode' because it is a function. +node_modules/uglify-js/lib/compress.js(5307,39): error TS2339: Property 'expressions' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5310,35): error TS2339: Property 'strings' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5312,47): error TS2339: Property 'strings' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5688,26): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5689,22): error TS2339: Property 'is_expr_pure' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5691,43): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5692,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(5760,26): error TS2339: Property 'expressions' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5761,22): error TS2339: Property 'is_expr_pure' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5762,23): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5764,43): error TS2339: Property 'tag' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(5765,20): error TS2790: The operand of a 'delete' operator must be optional. +node_modules/uglify-js/lib/compress.js(5814,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5834,29): error TS2322: Type 'string' is not assignable to type 'boolean'. +node_modules/uglify-js/lib/compress.js(6054,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6085,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6125,33): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6180,61): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6272,105): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6405,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6441,56): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(6501,56): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(6502,54): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(6627,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6628,74): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6647,35): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6673,28): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(6754,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6766,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(6853,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(6866,35): error TS2339: Property 'assign' does not exist on type 'any[]'. +node_modules/uglify-js/lib/compress.js(6867,48): error TS2339: Property 'assign' does not exist on type 'any[]'. +node_modules/uglify-js/lib/compress.js(6952,38): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(6955,33): error TS2403: Subsequent variable declarations must have the same type. Variable 'trimmed' must be of type 'any', but here has type '{ name: any; value: any; }'. +node_modules/uglify-js/lib/compress.js(6995,42): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(6998,37): error TS2403: Subsequent variable declarations must have the same type. Variable 'trimmed' must be of type 'any', but here has type '{ name: any; value: any; }'. +node_modules/uglify-js/lib/compress.js(7027,72): error TS2339: Property 'has_directive' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(7241,56): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(7287,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'trimmed' must be of type 'any', but here has type '{ name: any; value: any; }'. +node_modules/uglify-js/lib/compress.js(7328,80): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(7365,61): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(7368,12): error TS2339: Property 'push' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(7369,12): error TS2339: Property 'directives' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(7503,36): error TS2339: Property 'assign' does not exist on type 'any[]'. +node_modules/uglify-js/lib/compress.js(7897,18): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7897,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7921,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(7930,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(7936,33): error TS2339: Property 'find_variable' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7957,14): error TS2339: Property 'transform' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(7961,50): error TS2339: Property 'each_argname' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8028,32): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(8156,31): error TS2322: Type 'Dictionary' is not assignable to type 'undefined'. +node_modules/uglify-js/lib/compress.js(8157,18): error TS2339: Property 'enclosed' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8158,17): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(8160,18): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8161,17): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(8226,22): error TS2551: Property 'value' does not exist on type 'Dictionary'. Did you mean 'values'? +node_modules/uglify-js/lib/compress.js(8228,55): error TS2339: Property 'stack' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(8235,33): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. +node_modules/uglify-js/lib/compress.js(8253,22): error TS2551: Property 'value' does not exist on type 'Dictionary'. Did you mean 'values'? +node_modules/uglify-js/lib/compress.js(8400,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(8402,24): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(8476,29): error TS2339: Property 'left' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8483,30): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8486,25): error TS2339: Property 'right' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8549,22): error TS2339: Property 'is_expr_pure' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8550,26): error TS2339: Property 'pure' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8550,99): error TS2339: Property 'start' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8551,38): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8554,28): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8555,22): error TS2339: Property 'is_call_pure' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8556,34): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8562,33): error TS2339: Property 'clone' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8571,29): error TS2339: Property 'clone' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8572,22): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8574,41): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8581,42): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8588,30): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8588,48): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8589,30): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8589,42): error TS2339: Property 'args' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8783,28): error TS2339: Property 'expression' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8784,41): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8788,22): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8793,42): error TS2339: Property 'operator' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/compress.js(8824,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(8826,44): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(8830,56): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(8831,12): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(8899,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(8955,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(8970,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(9086,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(9112,21): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(9112,32): error TS2322: Type 'number | undefined' is not assignable to type 'number'. Type 'undefined' is not assignable to type 'number'. -node_modules/uglify-js/lib/compress.js(9050,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'save' must be of type 'any', but here has type 'number'. -node_modules/uglify-js/lib/compress.js(9057,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'save' must be of type 'any', but here has type 'number'. -node_modules/uglify-js/lib/compress.js(9066,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'save' must be of type 'any', but here has type 'number'. -node_modules/uglify-js/lib/compress.js(9235,37): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(9236,41): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(9249,37): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(9250,41): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(9342,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(9570,37): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(9576,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(9617,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(9870,33): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(9979,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[pattern: string | RegExp, flags?: string | undefined]'. +node_modules/uglify-js/lib/compress.js(9116,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'save' must be of type 'any', but here has type 'number'. +node_modules/uglify-js/lib/compress.js(9123,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'save' must be of type 'any', but here has type 'number'. +node_modules/uglify-js/lib/compress.js(9132,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'save' must be of type 'any', but here has type 'number'. +node_modules/uglify-js/lib/compress.js(9305,37): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(9306,41): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(9319,37): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(9320,41): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(9412,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(9640,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(9646,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(9687,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(9940,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(10053,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[pattern: string | RegExp, flags?: string | undefined]'. Target requires 1 element(s) but source may have fewer. -node_modules/uglify-js/lib/compress.js(10156,45): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(10163,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; reset: () => any; indent: (half: any) => void; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; space: () => void; comma: () => void; colon: () => void; ... 16 more ...; parent: (n: any) => any; }'. -node_modules/uglify-js/lib/compress.js(10167,36): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(10172,41): error TS2339: Property 'get' does not exist on type 'string'. -node_modules/uglify-js/lib/compress.js(10255,49): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(10458,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(10462,21): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(10470,25): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(10479,25): error TS2322: Type 'null' is not assignable to type 'any[]'. -node_modules/uglify-js/lib/compress.js(10495,32): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(10498,27): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(10723,34): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(10724,40): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(10725,40): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(10726,40): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. -node_modules/uglify-js/lib/compress.js(10741,41): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. -node_modules/uglify-js/lib/compress.js(10799,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(11171,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. -node_modules/uglify-js/lib/compress.js(11348,60): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(11349,21): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(11352,32): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(11361,32): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(11369,22): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(11385,22): error TS2454: Variable 'nullish' is used before being assigned. -node_modules/uglify-js/lib/compress.js(11673,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(11873,47): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(11974,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(12135,39): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(12139,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(12143,45): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/compress.js(12801,26): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter. -node_modules/uglify-js/lib/compress.js(12802,36): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(12803,32): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(12838,43): error TS2454: Variable 'property' is used before being assigned. -node_modules/uglify-js/lib/compress.js(12859,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(12862,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. -node_modules/uglify-js/lib/compress.js(12867,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(12908,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(12926,38): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(13171,34): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(13345,41): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(13372,42): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/compress.js(13493,24): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(13497,35): error TS2339: Property 'try_inline' does not exist on type 'never'. -node_modules/uglify-js/lib/compress.js(13500,25): 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(13501,33): error TS2339: Property 'body' does not exist on type 'never'. -node_modules/uglify-js/lib/compress.js(13510,24): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(13513,17): 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(13516,35): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(13524,24): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(13528,27): error TS2339: Property 'try_inline' does not exist on type 'never'. -node_modules/uglify-js/lib/compress.js(13532,17): 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(13535,38): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(13543,24): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(13549,24): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(13551,17): 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(13623,24): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/compress.js(13626,17): 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(13629,39): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(10230,45): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(10237,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; reset: () => any; indent: (half: any) => void; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; space: () => void; comma: () => void; colon: () => void; ... 16 more ...; parent: (n: any) => any; }'. +node_modules/uglify-js/lib/compress.js(10241,36): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(10246,41): error TS2339: Property 'get' does not exist on type 'string'. +node_modules/uglify-js/lib/compress.js(10332,49): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(10535,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(10539,21): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(10547,25): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(10556,25): error TS2322: Type 'null' is not assignable to type 'any[]'. +node_modules/uglify-js/lib/compress.js(10572,32): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(10575,27): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(10800,34): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(10801,40): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(10802,40): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(10803,40): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never[]'. +node_modules/uglify-js/lib/compress.js(10818,41): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'. +node_modules/uglify-js/lib/compress.js(10876,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(11254,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned. +node_modules/uglify-js/lib/compress.js(11431,60): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(11432,21): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(11435,32): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(11444,32): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(11452,22): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(11468,22): error TS2454: Variable 'nullish' is used before being assigned. +node_modules/uglify-js/lib/compress.js(11756,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(11957,47): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(12058,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(12219,39): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(12223,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(12227,45): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(12885,26): error TS2358: The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter. +node_modules/uglify-js/lib/compress.js(12886,36): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(12887,32): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(12922,43): error TS2454: Variable 'property' is used before being assigned. +node_modules/uglify-js/lib/compress.js(12943,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(12946,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. +node_modules/uglify-js/lib/compress.js(12951,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(12992,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(13010,38): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(13255,34): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(13429,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(13456,42): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(13577,24): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(13581,35): error TS2339: Property 'try_inline' does not exist on type 'never'. +node_modules/uglify-js/lib/compress.js(13584,25): 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(13585,33): error TS2339: Property 'body' does not exist on type 'never'. +node_modules/uglify-js/lib/compress.js(13594,24): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(13597,17): 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(13600,35): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(13608,24): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(13612,27): error TS2339: Property 'try_inline' does not exist on type 'never'. +node_modules/uglify-js/lib/compress.js(13616,17): 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(13619,38): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(13627,24): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(13633,24): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(13635,17): 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(13707,24): error TS2532: Object is possibly 'undefined'. +node_modules/uglify-js/lib/compress.js(13710,17): 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(13713,39): error TS2532: Object is possibly 'undefined'. node_modules/uglify-js/lib/mozilla-ast.js(384,53): error TS2304: Cannot find name 'syn'. node_modules/uglify-js/lib/mozilla-ast.js(1211,33): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/output.js(507,37): error TS2554: Expected 0 arguments, but got 1. @@ -296,89 +298,85 @@ node_modules/uglify-js/lib/output.js(508,53): error TS2339: Property 'parent' do node_modules/uglify-js/lib/output.js(512,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/output.js(1422,44): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/output.js(1871,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(324,9): error TS2322: Type 'string | boolean' is not assignable to type 'boolean'. +node_modules/uglify-js/lib/parse.js(323,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(393,19): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'. +node_modules/uglify-js/lib/parse.js(392,19): error TS2345: Argument of type 'number | undefined' is not assignable to parameter of type 'number'. Type 'undefined' is not assignable to type 'number'. -node_modules/uglify-js/lib/parse.js(459,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. -node_modules/uglify-js/lib/parse.js(470,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. -node_modules/uglify-js/lib/parse.js(520,20): error TS2339: Property 'raw_source' does not exist on type 'RegExp'. -node_modules/uglify-js/lib/parse.js(523,25): error TS2571: Object is of type 'unknown'. -node_modules/uglify-js/lib/parse.js(638,57): error TS2339: Property 'push' does not exist on type 'never'. -node_modules/uglify-js/lib/parse.js(644,32): error TS2345: Argument of type 'never[]' is not assignable to parameter of type 'never'. -node_modules/uglify-js/lib/parse.js(649,22): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/parse.js(650,26): error TS2532: Object is possibly 'undefined'. -node_modules/uglify-js/lib/parse.js(742,13): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(775,69): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(775,83): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(819,31): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(825,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(848,21): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(888,21): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(908,21): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1032,23): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. -node_modules/uglify-js/lib/parse.js(1111,56): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1127,52): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1167,58): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1359,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'. -node_modules/uglify-js/lib/parse.js(1408,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'. -node_modules/uglify-js/lib/parse.js(1414,28): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(1438,51): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1448,25): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1458,23): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1459,24): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1473,34): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1476,34): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1489,32): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1491,27): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1492,28): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1538,43): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1551,33): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1563,43): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1602,35): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1624,19): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1626,20): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1668,17): error TS2454: Variable 'cur' is used before being assigned. -node_modules/uglify-js/lib/parse.js(1790,41): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1791,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1804,59): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1838,21): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1848,27): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1849,60): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1850,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(458,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. +node_modules/uglify-js/lib/parse.js(469,32): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. +node_modules/uglify-js/lib/parse.js(519,20): error TS2339: Property 'raw_source' does not exist on type 'RegExp'. +node_modules/uglify-js/lib/parse.js(522,25): error TS2571: Object is of type 'unknown'. +node_modules/uglify-js/lib/parse.js(737,13): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(770,69): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(770,83): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(814,31): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(820,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(843,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(883,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(903,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1027,23): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. +node_modules/uglify-js/lib/parse.js(1106,56): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1122,52): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1162,58): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1350,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'. +node_modules/uglify-js/lib/parse.js(1399,9): error TS2322: Type 'any[]' is not assignable to type 'never[]'. +node_modules/uglify-js/lib/parse.js(1405,28): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(1429,51): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1439,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1449,23): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1450,24): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1464,34): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1467,34): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1480,32): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1482,27): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1483,28): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1529,43): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1542,33): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1554,43): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1593,35): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1615,19): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1617,20): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1659,17): error TS2454: Variable 'cur' is used before being assigned. +node_modules/uglify-js/lib/parse.js(1781,41): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1782,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1795,59): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1829,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1839,27): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1840,60): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1841,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1842,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1843,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1844,33): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1845,35): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1847,39): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1848,25): error TS2531: Object is possibly 'null'. node_modules/uglify-js/lib/parse.js(1851,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1852,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1853,33): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1854,35): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1856,39): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1857,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1855,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1856,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1858,38): error TS2531: Object is possibly 'null'. node_modules/uglify-js/lib/parse.js(1860,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1864,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1865,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1867,38): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1869,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1870,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1881,36): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1936,32): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(1960,19): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(1961,23): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(1961,71): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(2017,26): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2032,26): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2062,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2102,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2104,27): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2111,25): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2123,20): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2179,32): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(2219,26): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2350,60): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2360,44): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2369,48): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2395,35): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2498,52): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/parse.js(2521,23): error TS2339: Property 'rest' does not exist on type 'any[]'. -node_modules/uglify-js/lib/parse.js(2529,44): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(1861,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1872,36): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1927,32): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(1951,19): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(1952,23): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(1952,71): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(2008,26): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2023,26): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2053,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2093,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2095,27): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2102,25): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2114,20): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2170,32): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(2210,26): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2341,60): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2351,44): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2360,48): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2386,35): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2489,52): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/parse.js(2512,23): error TS2339: Property 'rest' does not exist on type 'any[]'. +node_modules/uglify-js/lib/parse.js(2520,44): error TS2339: Property 'rest' does not exist on type 'any[]'. node_modules/uglify-js/lib/propmangle.js(70,18): error TS2339: Property 'prototype' does not exist on type 'ObjectConstructor | FunctionConstructor | StringConstructor | BooleanConstructor | NumberConstructor | ... 4 more ... | ArrayConstructor'. Property 'prototype' does not exist on type 'Math'. node_modules/uglify-js/lib/propmangle.js(71,44): error TS2351: This expression is not constructable. @@ -389,42 +387,43 @@ node_modules/uglify-js/lib/propmangle.js(72,45): error TS2339: Property 'prototy node_modules/uglify-js/lib/propmangle.js(83,29): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/propmangle.js(148,29): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/propmangle.js(180,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(68,18): error TS2339: Property 'global' does not exist on type 'SymbolDef'. -node_modules/uglify-js/lib/scope.js(77,22): error TS2339: Property 'global' does not exist on type 'SymbolDef'. -node_modules/uglify-js/lib/scope.js(95,18): error TS2339: Property 'exported' does not exist on type 'SymbolDef'. -node_modules/uglify-js/lib/scope.js(96,18): error TS2339: Property 'undeclared' does not exist on type 'SymbolDef'. -node_modules/uglify-js/lib/scope.js(106,39): error TS2339: Property 'global' does not exist on type 'SymbolDef'. -node_modules/uglify-js/lib/scope.js(147,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(150,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(163,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(170,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(198,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(68,26): error TS2339: Property 'global' does not exist on type 'SymbolDef'. +node_modules/uglify-js/lib/scope.js(96,18): error TS2339: Property 'exported' does not exist on type 'SymbolDef'. +node_modules/uglify-js/lib/scope.js(97,18): error TS2339: Property 'undeclared' does not exist on type 'SymbolDef'. +node_modules/uglify-js/lib/scope.js(107,39): error TS2339: Property 'global' does not exist on type 'SymbolDef'. +node_modules/uglify-js/lib/scope.js(148,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(151,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(164,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(171,27): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/scope.js(199,21): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/scope.js(200,17): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/scope.js(201,26): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/scope.js(217,13): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/scope.js(219,23): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/scope.js(223,51): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(231,23): error TS2531: Object is possibly 'null'. -node_modules/uglify-js/lib/scope.js(252,10): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(257,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(307,62): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(329,28): error TS2339: Property 'def_global' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(331,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(342,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(351,26): error TS2339: Property 'uses_eval' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(366,10): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(369,26): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(369,46): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(415,38): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(470,10): error TS2339: Property 'def_variable' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(472,21): error TS2339: Property 'start' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(473,19): error TS2339: Property 'end' does not exist on type '(Anonymous function)'. -node_modules/uglify-js/lib/scope.js(622,29): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(654,49): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. -node_modules/uglify-js/lib/scope.js(729,31): error TS2345: Argument of type 'string' is not assignable to parameter of type 'object'. -node_modules/uglify-js/lib/scope.js(732,30): error TS2554: Expected 0 arguments, but got 1. -node_modules/uglify-js/lib/scope.js(756,30): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(200,21): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(201,17): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(202,26): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(218,13): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(220,23): error TS2531: Object is possibly 'null'. +node_modules/uglify-js/lib/scope.js(224,51): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(232,23): error TS2531: Object is possibly 'null'. +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(258,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(308,62): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(330,28): error TS2339: Property 'def_global' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(332,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(343,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(352,26): error TS2339: Property 'uses_eval' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(367,10): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(370,26): error TS2339: Property 'walk' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(370,46): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(416,38): error TS2339: Property 'variables' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(471,10): error TS2339: Property 'def_variable' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(474,21): error TS2339: Property 'start' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(475,19): error TS2339: Property 'end' does not exist on type '(Anonymous function)'. +node_modules/uglify-js/lib/scope.js(624,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(652,49): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/scope.js(674,88): error TS2322: Type 'number | undefined' is not assignable to type 'number'. + Type 'undefined' is not assignable to type 'number'. +node_modules/uglify-js/lib/scope.js(728,31): error TS2345: Argument of type 'string' is not assignable to parameter of type 'object'. +node_modules/uglify-js/lib/scope.js(731,30): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(755,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(182,31): error TS2339: Property 'index' does not exist on type 'any[]'. node_modules/uglify-js/lib/sourcemap.js(190,34): error TS2339: Property 'index' does not exist on type 'any[]'.