You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/baselines/reference/user/uglify-js.log
+44-44
Original file line number
Diff line number
Diff line change
@@ -8,58 +8,58 @@ node_modules/uglify-js/lib/ast.js(870,14): error TS2339: Property 'push' does no
8
8
node_modules/uglify-js/lib/ast.js(877,14): error TS2339: Property 'pop' does not exist on type 'TreeWalker'.
9
9
node_modules/uglify-js/lib/ast.js(932,25): error TS2339: Property 'self' does not exist on type 'TreeWalker'.
10
10
node_modules/uglify-js/lib/ast.js(933,37): error TS2339: Property 'parent' does not exist on type 'TreeWalker'.
11
-
node_modules/uglify-js/lib/compress.js(173,42): error TS2554: Expected 0 arguments, but got 1.
12
-
node_modules/uglify-js/lib/compress.js(515,41): error TS2554: Expected 0 arguments, but got 1.
13
-
node_modules/uglify-js/lib/compress.js(838,33): error TS2554: Expected 0 arguments, but got 1.
14
-
node_modules/uglify-js/lib/compress.js(1093,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
15
-
node_modules/uglify-js/lib/compress.js(1107,51): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'true | ((node: any) => any)' has no compatible call signatures.
16
-
node_modules/uglify-js/lib/compress.js(1171,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
11
+
node_modules/uglify-js/lib/compress.js(174,42): error TS2554: Expected 0 arguments, but got 1.
12
+
node_modules/uglify-js/lib/compress.js(516,41): error TS2554: Expected 0 arguments, but got 1.
13
+
node_modules/uglify-js/lib/compress.js(839,33): error TS2554: Expected 0 arguments, but got 1.
14
+
node_modules/uglify-js/lib/compress.js(1094,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
15
+
node_modules/uglify-js/lib/compress.js(1108,51): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'true | ((node: any) => any)' has no compatible call signatures.
16
+
node_modules/uglify-js/lib/compress.js(1172,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
17
17
node_modules/uglify-js/lib/compress.js(1213,112): error TS2454: Variable 'args' is used before being assigned.
18
18
node_modules/uglify-js/lib/compress.js(1214,29): error TS2532: Object is possibly 'undefined'.
19
19
node_modules/uglify-js/lib/compress.js(1223,87): error TS2322: Type 'false' is not assignable to type 'number'.
20
20
node_modules/uglify-js/lib/compress.js(1231,29): error TS2322: Type 'false' is not assignable to type 'never'.
21
21
node_modules/uglify-js/lib/compress.js(1337,53): error TS2554: Expected 0 arguments, but got 1.
22
-
node_modules/uglify-js/lib/compress.js(1432,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
23
-
node_modules/uglify-js/lib/compress.js(1540,42): error TS2554: Expected 0 arguments, but got 1.
24
-
node_modules/uglify-js/lib/compress.js(1572,41): error TS2554: Expected 0 arguments, but got 1.
25
-
node_modules/uglify-js/lib/compress.js(1679,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[number, number, ...never[]]'.
22
+
node_modules/uglify-js/lib/compress.js(1438,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
23
+
node_modules/uglify-js/lib/compress.js(1548,42): error TS2554: Expected 0 arguments, but got 1.
24
+
node_modules/uglify-js/lib/compress.js(1580,41): error TS2554: Expected 0 arguments, but got 1.
25
+
node_modules/uglify-js/lib/compress.js(1687,49): error TS2345: Argument of type 'number[]' is not assignable to parameter of type '[number, number, ...never[]]'.
26
26
Type 'number[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1
27
-
node_modules/uglify-js/lib/compress.js(2002,59): error TS2554: Expected 0 arguments, but got 1.
28
-
node_modules/uglify-js/lib/compress.js(2040,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[number, number, ...never[]]'.
27
+
node_modules/uglify-js/lib/compress.js(2010,59): error TS2554: Expected 0 arguments, but got 1.
28
+
node_modules/uglify-js/lib/compress.js(2048,53): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[number, number, ...never[]]'.
29
29
Type 'any[]' is missing the following properties from type '[number, number, ...never[]]': 0, 1
30
-
node_modules/uglify-js/lib/compress.js(2188,34): error TS2554: Expected 0 arguments, but got 1.
31
-
node_modules/uglify-js/lib/compress.js(3247,38): error TS2554: Expected 0 arguments, but got 1.
32
-
node_modules/uglify-js/lib/compress.js(3260,33): error TS2322: Type '"f"' is not assignable to type 'boolean'.
33
-
node_modules/uglify-js/lib/compress.js(3400,33): error TS2554: Expected 0 arguments, but got 1.
34
-
node_modules/uglify-js/lib/compress.js(3455,29): error TS2554: Expected 0 arguments, but got 1.
35
-
node_modules/uglify-js/lib/compress.js(3472,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
36
-
node_modules/uglify-js/lib/compress.js(3497,75): error TS2554: Expected 0 arguments, but got 1.
37
-
node_modules/uglify-js/lib/compress.js(3723,38): error TS2554: Expected 0 arguments, but got 1.
38
-
node_modules/uglify-js/lib/compress.js(3744,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
39
-
node_modules/uglify-js/lib/compress.js(3754,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
40
-
node_modules/uglify-js/lib/compress.js(3913,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'defs' must be of type 'Dictionary & { set: (key: any, val: any) => Dictionary & { set: ...; add: (key: any, val: any) => Dictionary & { set: ...; add: ...; get: (key: any) => any; del: (key: any) => Dictionary & { set: ...; ... 8 more ...; toObject: () => any; }; ... 5 more ...; toObject: () => any; }; ... 7 more ...; toObject: () => any;...', but here has type 'any'.
41
-
node_modules/uglify-js/lib/compress.js(3965,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead.
42
-
node_modules/uglify-js/lib/compress.js(4021,45): error TS2554: Expected 0 arguments, but got 1.
43
-
node_modules/uglify-js/lib/compress.js(4130,33): error TS2554: Expected 0 arguments, but got 1.
44
-
node_modules/uglify-js/lib/compress.js(4429,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'.
45
-
node_modules/uglify-js/lib/compress.js(4513,37): error TS2554: Expected 0 arguments, but got 1.
46
-
node_modules/uglify-js/lib/compress.js(4705,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[RegExp, (string | undefined)?]'.
30
+
node_modules/uglify-js/lib/compress.js(2196,34): error TS2554: Expected 0 arguments, but got 1.
31
+
node_modules/uglify-js/lib/compress.js(3271,38): error TS2554: Expected 0 arguments, but got 1.
32
+
node_modules/uglify-js/lib/compress.js(3284,33): error TS2322: Type '"f"' is not assignable to type 'boolean'.
33
+
node_modules/uglify-js/lib/compress.js(3418,33): error TS2554: Expected 0 arguments, but got 1.
34
+
node_modules/uglify-js/lib/compress.js(3473,29): error TS2554: Expected 0 arguments, but got 1.
35
+
node_modules/uglify-js/lib/compress.js(3490,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
36
+
node_modules/uglify-js/lib/compress.js(3515,75): error TS2554: Expected 0 arguments, but got 1.
37
+
node_modules/uglify-js/lib/compress.js(3741,38): error TS2554: Expected 0 arguments, but got 1.
38
+
node_modules/uglify-js/lib/compress.js(3762,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
39
+
node_modules/uglify-js/lib/compress.js(3772,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
40
+
node_modules/uglify-js/lib/compress.js(3931,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'defs' must be of type 'Dictionary & { set: (key: any, val: any) => Dictionary & { set: ...; add: (key: any, val: any) => Dictionary & { set: ...; add: ...; get: (key: any) => any; del: (key: any) => Dictionary & { set: ...; ... 8 more ...; toObject: () => any; }; ... 5 more ...; toObject: () => any; }; ... 7 more ...; toObject: () => any;...', but here has type 'any'.
41
+
node_modules/uglify-js/lib/compress.js(3983,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead.
42
+
node_modules/uglify-js/lib/compress.js(4039,45): error TS2554: Expected 0 arguments, but got 1.
43
+
node_modules/uglify-js/lib/compress.js(4151,33): error TS2554: Expected 0 arguments, but got 1.
44
+
node_modules/uglify-js/lib/compress.js(4450,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'.
45
+
node_modules/uglify-js/lib/compress.js(4534,37): error TS2554: Expected 0 arguments, but got 1.
46
+
node_modules/uglify-js/lib/compress.js(4742,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[RegExp, (string | undefined)?]'.
47
47
Property '0' is missing in type 'any[]' but required in type '[RegExp, (string | undefined)?]'.
48
-
node_modules/uglify-js/lib/compress.js(4863,45): error TS2554: Expected 0 arguments, but got 1.
49
-
node_modules/uglify-js/lib/compress.js(4870,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: () => void; indentation: () => number; current_width: () => number; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; ... 24 more ...; parent: (n: any) => any; }'.
50
-
node_modules/uglify-js/lib/compress.js(4874,36): error TS2532: Object is possibly 'undefined'.
51
-
node_modules/uglify-js/lib/compress.js(4879,41): error TS2339: Property 'get' does not exist on type 'string'.
52
-
node_modules/uglify-js/lib/compress.js(5366,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned.
53
-
node_modules/uglify-js/lib/compress.js(5798,25): error TS2367: This condition will always return 'false' since the types 'boolean' and '"f"' have no overlap.
54
-
node_modules/uglify-js/lib/compress.js(5825,47): error TS2554: Expected 0 arguments, but got 1.
55
-
node_modules/uglify-js/lib/compress.js(5896,39): error TS2554: Expected 0 arguments, but got 1.
56
-
node_modules/uglify-js/lib/compress.js(5968,39): error TS2554: Expected 0 arguments, but got 1.
57
-
node_modules/uglify-js/lib/compress.js(5974,41): error TS2554: Expected 0 arguments, but got 1.
58
-
node_modules/uglify-js/lib/compress.js(6396,43): error TS2454: Variable 'property' is used before being assigned.
59
-
node_modules/uglify-js/lib/compress.js(6411,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
60
-
node_modules/uglify-js/lib/compress.js(6414,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'.
61
-
node_modules/uglify-js/lib/compress.js(6420,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
62
-
node_modules/uglify-js/lib/compress.js(6448,34): error TS2554: Expected 0 arguments, but got 1.
48
+
node_modules/uglify-js/lib/compress.js(4900,45): error TS2554: Expected 0 arguments, but got 1.
49
+
node_modules/uglify-js/lib/compress.js(4907,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: () => void; indentation: () => number; current_width: () => number; should_break: () => boolean; has_parens: () => boolean; newline: () => void; print: (str: any) => void; ... 24 more ...; parent: (n: any) => any; }'.
50
+
node_modules/uglify-js/lib/compress.js(4911,36): error TS2532: Object is possibly 'undefined'.
51
+
node_modules/uglify-js/lib/compress.js(4916,41): error TS2339: Property 'get' does not exist on type 'string'.
52
+
node_modules/uglify-js/lib/compress.js(5403,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned.
53
+
node_modules/uglify-js/lib/compress.js(5835,25): error TS2367: This condition will always return 'false' since the types 'boolean' and '"f"' have no overlap.
54
+
node_modules/uglify-js/lib/compress.js(5862,47): error TS2554: Expected 0 arguments, but got 1.
55
+
node_modules/uglify-js/lib/compress.js(5936,39): error TS2554: Expected 0 arguments, but got 1.
56
+
node_modules/uglify-js/lib/compress.js(6008,39): error TS2554: Expected 0 arguments, but got 1.
57
+
node_modules/uglify-js/lib/compress.js(6014,41): error TS2554: Expected 0 arguments, but got 1.
58
+
node_modules/uglify-js/lib/compress.js(6447,43): error TS2454: Variable 'property' is used before being assigned.
59
+
node_modules/uglify-js/lib/compress.js(6462,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
60
+
node_modules/uglify-js/lib/compress.js(6465,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'.
61
+
node_modules/uglify-js/lib/compress.js(6471,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
62
+
node_modules/uglify-js/lib/compress.js(6499,34): error TS2554: Expected 0 arguments, but got 1.
63
63
node_modules/uglify-js/lib/minify.js(170,75): error TS2339: Property 'compress' does not exist on type 'Compressor'.
64
64
node_modules/uglify-js/lib/mozilla-ast.js(566,33): error TS2554: Expected 0 arguments, but got 1.
65
65
node_modules/uglify-js/lib/output.js(246,25): error TS2554: Expected 0 arguments, but got 2.
0 commit comments