Skip to content

Commit bdb7c35

Browse files
TypeScript Botsandersn
TypeScript Bot
authored andcommitted
Update user baselines (microsoft#26664)
1 parent 8ba5019 commit bdb7c35

File tree

2 files changed

+45
-47
lines changed

2 files changed

+45
-47
lines changed

tests/baselines/reference/user/chrome-devtools-frontend.log

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ Standard output:
1414
../../../../built/local/lib.es5.d.ts(1346,11): error TS2300: Duplicate identifier 'ArrayLike'.
1515
../../../../built/local/lib.es5.d.ts(1382,6): error TS2300: Duplicate identifier 'Record'.
1616
../../../../node_modules/@types/node/index.d.ts(150,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{}', but here has type 'NodeModule'.
17-
definitions.js(3,5): error TS2322: Type '{}' is not assignable to type 'typeof Animation'.
18-
Property 'AnimationGroupPreviewUI' is missing in type '{}'.
1917
node_modules/chrome-devtools-frontend/front_end/Runtime.js(43,8): error TS2339: Property '_importScriptPathPrefix' does not exist on type 'Window'.
2018
node_modules/chrome-devtools-frontend/front_end/Runtime.js(95,28): error TS2339: Property 'response' does not exist on type 'EventTarget'.
2119
node_modules/chrome-devtools-frontend/front_end/Runtime.js(147,37): error TS2339: Property '_importScriptPathPrefix' does not exist on type 'Window'.

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

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -5,51 +5,51 @@ node_modules/uglify-js/lib/ast.js(328,33): error TS2339: Property 'transform' do
55
node_modules/uglify-js/lib/ast.js(869,5): error TS2322: Type '{ _visit: (node: any, descend: any) => any; parent: (n: any) => any; push: typeof push; pop: typeof pop; self: () => any; find_parent: (type: any) => any; has_directive: (type: any) => any; loopcontrol_target: (node: any) => any; in_boolean_context: () => boolean | undefined; }' is not assignable to type 'TreeWalker'.
66
Object literal may only specify known properties, but '_visit' does not exist in type 'TreeWalker'. Did you mean to write 'visit'?
77
node_modules/uglify-js/lib/compress.js(167,27): error TS2554: Expected 0 arguments, but got 1.
8-
node_modules/uglify-js/lib/compress.js(501,26): error TS2554: Expected 0 arguments, but got 1.
9-
node_modules/uglify-js/lib/compress.js(818,18): error TS2554: Expected 0 arguments, but got 1.
10-
node_modules/uglify-js/lib/compress.js(1073,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
11-
node_modules/uglify-js/lib/compress.js(1087,51): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'true | ((node: any) => any)' has no compatible call signatures.
12-
node_modules/uglify-js/lib/compress.js(1151,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
13-
node_modules/uglify-js/lib/compress.js(1193,112): error TS2532: Object is possibly 'undefined'.
14-
node_modules/uglify-js/lib/compress.js(1194,29): error TS2532: Object is possibly 'undefined'.
15-
node_modules/uglify-js/lib/compress.js(1203,87): error TS2322: Type 'false' is not assignable to type 'number'.
16-
node_modules/uglify-js/lib/compress.js(1211,29): error TS2322: Type 'false' is not assignable to type 'never'.
17-
node_modules/uglify-js/lib/compress.js(1317,38): error TS2554: Expected 0 arguments, but got 1.
18-
node_modules/uglify-js/lib/compress.js(1412,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
19-
node_modules/uglify-js/lib/compress.js(1508,27): error TS2554: Expected 0 arguments, but got 1.
20-
node_modules/uglify-js/lib/compress.js(1540,26): error TS2554: Expected 0 arguments, but got 1.
21-
node_modules/uglify-js/lib/compress.js(1951,44): error TS2554: Expected 0 arguments, but got 1.
22-
node_modules/uglify-js/lib/compress.js(2137,19): error TS2554: Expected 0 arguments, but got 1.
23-
node_modules/uglify-js/lib/compress.js(3193,23): error TS2554: Expected 0 arguments, but got 1.
24-
node_modules/uglify-js/lib/compress.js(3206,33): error TS2322: Type '"f"' is not assignable to type 'boolean'.
25-
node_modules/uglify-js/lib/compress.js(3345,18): error TS2554: Expected 0 arguments, but got 1.
26-
node_modules/uglify-js/lib/compress.js(3400,14): error TS2554: Expected 0 arguments, but got 1.
27-
node_modules/uglify-js/lib/compress.js(3417,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
28-
node_modules/uglify-js/lib/compress.js(3442,62): error TS2554: Expected 0 arguments, but got 1.
29-
node_modules/uglify-js/lib/compress.js(3669,23): error TS2554: Expected 0 arguments, but got 1.
30-
node_modules/uglify-js/lib/compress.js(3690,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
31-
node_modules/uglify-js/lib/compress.js(3700,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
32-
node_modules/uglify-js/lib/compress.js(3859,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'defs' must be of type 'Dictionary & { set: (key: any, val: any) => any; add: (key: any, val: any) => any; get: (key: any) => any; del: (key: any) => any; has: (key: any) => boolean; each: (f: any) => void; size: () => any; map: (f: any) => any[]; clone: () => Dictionary & any; toObject: () => any; }', but here has type 'any'.
33-
node_modules/uglify-js/lib/compress.js(3911,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead.
34-
node_modules/uglify-js/lib/compress.js(3967,30): error TS2554: Expected 0 arguments, but got 1.
35-
node_modules/uglify-js/lib/compress.js(4076,18): error TS2554: Expected 0 arguments, but got 1.
36-
node_modules/uglify-js/lib/compress.js(4375,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'.
37-
node_modules/uglify-js/lib/compress.js(4459,22): error TS2554: Expected 0 arguments, but got 1.
38-
node_modules/uglify-js/lib/compress.js(4809,30): error TS2554: Expected 0 arguments, but got 1.
39-
node_modules/uglify-js/lib/compress.js(4816,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; }'.
40-
node_modules/uglify-js/lib/compress.js(4820,36): error TS2532: Object is possibly 'undefined'.
41-
node_modules/uglify-js/lib/compress.js(4825,41): error TS2339: Property 'get' does not exist on type 'string'.
42-
node_modules/uglify-js/lib/compress.js(5312,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned.
43-
node_modules/uglify-js/lib/compress.js(5747,25): error TS2367: This condition will always return 'false' since the types 'boolean' and '"f"' have no overlap.
44-
node_modules/uglify-js/lib/compress.js(5775,32): error TS2554: Expected 0 arguments, but got 1.
45-
node_modules/uglify-js/lib/compress.js(5835,24): error TS2554: Expected 0 arguments, but got 1.
46-
node_modules/uglify-js/lib/compress.js(5907,24): error TS2554: Expected 0 arguments, but got 1.
47-
node_modules/uglify-js/lib/compress.js(5913,26): error TS2554: Expected 0 arguments, but got 1.
48-
node_modules/uglify-js/lib/compress.js(6306,43): error TS2454: Variable 'property' is used before being assigned.
49-
node_modules/uglify-js/lib/compress.js(6321,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
50-
node_modules/uglify-js/lib/compress.js(6324,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'.
51-
node_modules/uglify-js/lib/compress.js(6330,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
52-
node_modules/uglify-js/lib/compress.js(6358,19): error TS2554: Expected 0 arguments, but got 1.
8+
node_modules/uglify-js/lib/compress.js(500,26): error TS2554: Expected 0 arguments, but got 1.
9+
node_modules/uglify-js/lib/compress.js(817,18): error TS2554: Expected 0 arguments, but got 1.
10+
node_modules/uglify-js/lib/compress.js(1072,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
11+
node_modules/uglify-js/lib/compress.js(1086,51): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'true | ((node: any) => any)' has no compatible call signatures.
12+
node_modules/uglify-js/lib/compress.js(1150,53): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
13+
node_modules/uglify-js/lib/compress.js(1192,112): error TS2532: Object is possibly 'undefined'.
14+
node_modules/uglify-js/lib/compress.js(1193,29): error TS2532: Object is possibly 'undefined'.
15+
node_modules/uglify-js/lib/compress.js(1202,87): error TS2322: Type 'false' is not assignable to type 'number'.
16+
node_modules/uglify-js/lib/compress.js(1210,29): error TS2322: Type 'false' is not assignable to type 'never'.
17+
node_modules/uglify-js/lib/compress.js(1316,38): error TS2554: Expected 0 arguments, but got 1.
18+
node_modules/uglify-js/lib/compress.js(1411,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
19+
node_modules/uglify-js/lib/compress.js(1507,27): error TS2554: Expected 0 arguments, but got 1.
20+
node_modules/uglify-js/lib/compress.js(1539,26): error TS2554: Expected 0 arguments, but got 1.
21+
node_modules/uglify-js/lib/compress.js(1963,44): error TS2554: Expected 0 arguments, but got 1.
22+
node_modules/uglify-js/lib/compress.js(2149,19): error TS2554: Expected 0 arguments, but got 1.
23+
node_modules/uglify-js/lib/compress.js(3205,23): error TS2554: Expected 0 arguments, but got 1.
24+
node_modules/uglify-js/lib/compress.js(3218,33): error TS2322: Type '"f"' is not assignable to type 'boolean'.
25+
node_modules/uglify-js/lib/compress.js(3358,18): error TS2554: Expected 0 arguments, but got 1.
26+
node_modules/uglify-js/lib/compress.js(3413,14): error TS2554: Expected 0 arguments, but got 1.
27+
node_modules/uglify-js/lib/compress.js(3430,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
28+
node_modules/uglify-js/lib/compress.js(3455,62): error TS2554: Expected 0 arguments, but got 1.
29+
node_modules/uglify-js/lib/compress.js(3681,23): error TS2554: Expected 0 arguments, but got 1.
30+
node_modules/uglify-js/lib/compress.js(3702,24): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
31+
node_modules/uglify-js/lib/compress.js(3712,28): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'.
32+
node_modules/uglify-js/lib/compress.js(3871,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'defs' must be of type 'Dictionary & { set: (key: any, val: any) => any; add: (key: any, val: any) => any; get: (key: any) => any; del: (key: any) => any; has: (key: any) => boolean; each: (f: any) => void; size: () => any; map: (f: any) => any[]; clone: () => Dictionary & any; toObject: () => any; }', but here has type 'any'.
33+
node_modules/uglify-js/lib/compress.js(3923,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead.
34+
node_modules/uglify-js/lib/compress.js(3979,30): error TS2554: Expected 0 arguments, but got 1.
35+
node_modules/uglify-js/lib/compress.js(4088,18): error TS2554: Expected 0 arguments, but got 1.
36+
node_modules/uglify-js/lib/compress.js(4387,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'.
37+
node_modules/uglify-js/lib/compress.js(4471,22): error TS2554: Expected 0 arguments, but got 1.
38+
node_modules/uglify-js/lib/compress.js(4821,30): error TS2554: Expected 0 arguments, but got 1.
39+
node_modules/uglify-js/lib/compress.js(4828,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; }'.
40+
node_modules/uglify-js/lib/compress.js(4832,36): error TS2532: Object is possibly 'undefined'.
41+
node_modules/uglify-js/lib/compress.js(4837,41): error TS2339: Property 'get' does not exist on type 'string'.
42+
node_modules/uglify-js/lib/compress.js(5324,18): error TS2454: Variable 'is_strict_comparison' is used before being assigned.
43+
node_modules/uglify-js/lib/compress.js(5759,25): error TS2367: This condition will always return 'false' since the types 'boolean' and '"f"' have no overlap.
44+
node_modules/uglify-js/lib/compress.js(5787,32): error TS2554: Expected 0 arguments, but got 1.
45+
node_modules/uglify-js/lib/compress.js(5847,24): error TS2554: Expected 0 arguments, but got 1.
46+
node_modules/uglify-js/lib/compress.js(5919,24): error TS2554: Expected 0 arguments, but got 1.
47+
node_modules/uglify-js/lib/compress.js(5925,26): error TS2554: Expected 0 arguments, but got 1.
48+
node_modules/uglify-js/lib/compress.js(6318,43): error TS2454: Variable 'property' is used before being assigned.
49+
node_modules/uglify-js/lib/compress.js(6333,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
50+
node_modules/uglify-js/lib/compress.js(6336,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'.
51+
node_modules/uglify-js/lib/compress.js(6342,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'.
52+
node_modules/uglify-js/lib/compress.js(6370,19): error TS2554: Expected 0 arguments, but got 1.
5353
node_modules/uglify-js/lib/minify.js(170,75): error TS2339: Property 'compress' does not exist on type 'Compressor'.
5454
node_modules/uglify-js/lib/mozilla-ast.js(566,18): error TS2554: Expected 0 arguments, but got 1.
5555
node_modules/uglify-js/lib/output.js(246,9): error TS2554: Expected 0 arguments, but got 2.

0 commit comments

Comments
 (0)