Skip to content

Commit f72ec0e

Browse files
Update user baselines
1 parent 9f70d49 commit f72ec0e

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

tests/baselines/reference/user/lodash.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ node_modules/lodash/_createWrap.js(97,100): error TS2532: Object is possibly 'un
150150
node_modules/lodash/_createWrap.js(98,28): error TS2345: Argument of type 'TimerHandler' is not assignable to parameter of type 'Function'.
151151
Type 'string' is not assignable to type 'Function'.
152152
node_modules/lodash/_createWrap.js(100,44): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[func: TimerHandler, bitmask: number, thisArg?: any, partials?: any[] | undefined, holders?: any[] | undefined, partialsRight?: any[] | undefined, holdersRight?: any[] | undefined, argPos?: any[] | undefined, ary?: number | undefined, arity?: number | undefined]'.
153-
Type 'any[]' is missing the following properties from type '[func: TimerHandler, bitmask: number, thisArg?: any, partials?: any[] | undefined, holders?: any[] | undefined, partialsRight?: any[] | undefined, holdersRight?: any[] | undefined, argPos?: any[] | undefined, ary?: number | undefined, arity?: number | undefined]': 0, 1
153+
Target requires 2 element(s) but source may have fewer.
154154
node_modules/lodash/_createWrap.js(103,51): error TS2345: Argument of type 'TimerHandler' is not assignable to parameter of type 'Function'.
155155
Type 'string' is not assignable to type 'Function'.
156156
node_modules/lodash/_customDefaultsMerge.js(22,35): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'number'.

tests/baselines/reference/user/npm.log

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ node_modules/npm/lib/config/core.js(409,29): error TS2769: No overload matches t
185185
Type 'string | undefined' is not assignable to type 'string'.
186186
Type 'undefined' is not assignable to type 'string'.
187187
node_modules/npm/lib/config/defaults.js(20,52): error TS2345: Argument of type 'never[]' is not assignable to parameter of type '[format: any, ...param: any[]]'.
188-
Property '0' is missing in type 'never[]' but required in type '[format: any, ...param: any[]]'.
188+
Property '0' is optional in type 'never[]' but required in type '[format: any, ...param: any[]]'.
189189
node_modules/npm/lib/config/defaults.js(240,36): error TS2554: Expected 1 arguments, but got 0.
190190
node_modules/npm/lib/config/gentle-fs.js(16,11): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'.
191191
node_modules/npm/lib/config/gentle-fs.js(17,11): error TS2339: Property 'globalPrefix' does not exist on type 'typeof EventEmitter'.
@@ -976,7 +976,7 @@ node_modules/npm/test/common-tap.js(10,36): error TS2322: Type '(...args: any[])
976976
Type '(...args: any[]) => void' is not assignable to type '(callback: (...args: any[]) => void, ...args: any[]) => Immediate'.
977977
Type 'void' is not assignable to type 'Immediate'.
978978
node_modules/npm/test/common-tap.js(12,28): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[callback: (...args: any[]) => void, ms: number, ...args: any[]]'.
979-
Type 'any[]' is missing the following properties from type '[callback: (...args: any[]) => void, ms: number, ...args: any[]]': 0, 1
979+
Property '0' is optional in type 'any[]' but required in type '[callback: (...args: any[]) => void, ms: number, ...args: any[]]'.
980980
node_modules/npm/test/common-tap.js(175,17): error TS2339: Property '_storage' does not exist on type 'Environment'.
981981
node_modules/npm/test/common-tap.js(181,31): error TS2339: Property '_storage' does not exist on type 'Environment'.
982982
node_modules/npm/test/common-tap.js(192,12): error TS2339: Property '_storage' does not exist on type 'Environment'.

tests/baselines/reference/user/npmlog.log

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ node_modules/npmlog/log.js(149,8): error TS2551: Property '_paused' does not exi
55
node_modules/npmlog/log.js(154,13): error TS2551: Property '_paused' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'?
66
node_modules/npmlog/log.js(155,8): error TS2551: Property '_paused' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'?
77
node_modules/npmlog/log.js(194,37): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[format: any, ...param: any[]]'.
8-
Property '0' is missing in type 'any[]' but required in type '[format: any, ...param: any[]]'.
8+
Property '0' is optional in type 'any[]' but required in type '[format: any, ...param: any[]]'.
99
node_modules/npmlog/log.js(218,12): error TS2551: Property '_paused' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'?
1010
node_modules/npmlog/log.js(271,16): error TS2769: No overload matches this call.
1111
Overload 1 of 2, '(buffer: string | Uint8Array, cb?: ((err?: Error | undefined) => void) | undefined): boolean', gave the following error.

tests/baselines/reference/user/uglify-js.log

+4-5
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ node_modules/uglify-js/lib/compress.js(1887,45): error TS2554: Expected 0 argume
4545
node_modules/uglify-js/lib/compress.js(1907,42): error TS2554: Expected 0 arguments, but got 1.
4646
node_modules/uglify-js/lib/compress.js(1936,41): error TS2554: Expected 0 arguments, but got 1.
4747
node_modules/uglify-js/lib/compress.js(2066,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'.
48-
Type 'number[]' is missing the following properties from type '[start: number, deleteCount: number, ...items: never[]]': 0, 1
48+
Property '0' is optional in type 'number[]' but required in type '[start: number, deleteCount: number, ...items: never[]]'.
4949
node_modules/uglify-js/lib/compress.js(2399,59): error TS2554: Expected 0 arguments, but got 1.
5050
node_modules/uglify-js/lib/compress.js(2437,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[start: number, deleteCount: number, ...items: never[]]'.
51-
Type 'any[]' is missing the following properties from type '[start: number, deleteCount: number, ...items: never[]]': 0, 1
51+
Property '0' is optional in type 'any[]' but required in type '[start: number, deleteCount: number, ...items: never[]]'.
5252
node_modules/uglify-js/lib/compress.js(2472,26): error TS2403: Subsequent variable declarations must have the same type. Variable 'i' must be of type 'number', but here has type 'any'.
5353
node_modules/uglify-js/lib/compress.js(2628,39): error TS2554: Expected 2 arguments, but got 1.
5454
node_modules/uglify-js/lib/compress.js(2651,34): error TS2554: Expected 0 arguments, but got 1.
@@ -92,7 +92,7 @@ node_modules/uglify-js/lib/compress.js(5737,17): error TS2403: Subsequent variab
9292
node_modules/uglify-js/lib/compress.js(5880,37): error TS2554: Expected 0 arguments, but got 1.
9393
node_modules/uglify-js/lib/compress.js(5940,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'.
9494
node_modules/uglify-js/lib/compress.js(6136,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[pattern: string | RegExp, flags?: string | undefined]'.
95-
Property '0' is missing in type 'any[]' but required in type '[pattern: string | RegExp, flags?: string | undefined]'.
95+
Target requires 1 element(s) but source may have fewer.
9696
node_modules/uglify-js/lib/compress.js(6294,32): error TS2554: Expected 2 arguments, but got 1.
9797
node_modules/uglify-js/lib/compress.js(6300,45): error TS2554: Expected 0 arguments, but got 1.
9898
node_modules/uglify-js/lib/compress.js(6307,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'code' must be of type 'string', but here has type '{ get: () => string; toString: () => string; indent: (half: any) => void; indentation: () => number; current_width: () => number; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; ... 23 more ...; parent: (n: any) => any; }'.
@@ -176,8 +176,7 @@ node_modules/uglify-js/lib/sourcemap.js(82,11): error TS2339: Property 'index' d
176176
node_modules/uglify-js/lib/sourcemap.js(178,31): error TS2339: Property 'index' does not exist on type 'any[]'.
177177
node_modules/uglify-js/lib/sourcemap.js(186,34): error TS2339: Property 'index' does not exist on type 'any[]'.
178178
node_modules/uglify-js/tools/exit.js(10,37): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[code?: number | undefined]'.
179-
Types of property 'length' are incompatible.
180-
Type 'number' is not assignable to type '0 | 1'.
179+
Target allows only 1 element(s) but source may have more.
181180
node_modules/uglify-js/tools/node.js(64,26): error TS2339: Property 'minify' does not exist on type 'typeof import("/uglify-js/node_modules/uglify-js/tools/node")'.
182181

183182

0 commit comments

Comments
 (0)