Skip to content

Commit 6239762

Browse files
committed
update baselines
1 parent 82378a9 commit 6239762

File tree

2 files changed

+119
-150
lines changed

2 files changed

+119
-150
lines changed
Lines changed: 17 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,14 @@
1-
setMethods.ts(13,17): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
2-
Type 'undefined[]' is missing the following properties from type 'SetLike<number>': has, size
3-
setMethods.ts(15,17): error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
4-
The types returned by 'keys()[Symbol.iterator]().next(...)' are incompatible between these types.
5-
Type 'IteratorResult<string, any>' is not assignable to type 'IteratorResult<number, any>'.
6-
Type 'IteratorYieldResult<string>' is not assignable to type 'IteratorResult<number, any>'.
7-
Type 'IteratorYieldResult<string>' is not assignable to type 'IteratorYieldResult<number>'.
8-
Type 'string' is not assignable to type 'number'.
9-
setMethods.ts(19,24): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
10-
setMethods.ts(21,24): error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
11-
setMethods.ts(25,22): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
12-
setMethods.ts(27,22): error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
13-
setMethods.ts(31,31): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
14-
setMethods.ts(33,31): error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
15-
setMethods.ts(37,22): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
16-
setMethods.ts(39,22): error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
17-
setMethods.ts(43,24): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
18-
setMethods.ts(45,24): error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
19-
setMethods.ts(49,26): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
20-
setMethods.ts(51,26): error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
1+
setMethods.ts(13,17): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
2+
Type 'undefined[]' is missing the following properties from type 'ReadonlySetLike<unknown>': has, size
3+
setMethods.ts(19,24): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
4+
setMethods.ts(25,22): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
5+
setMethods.ts(31,31): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
6+
setMethods.ts(37,22): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
7+
setMethods.ts(43,24): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
8+
setMethods.ts(49,26): error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
219

2210

23-
==== setMethods.ts (14 errors) ====
11+
==== setMethods.ts (7 errors) ====
2412
let numberSet = new Set([0, 1, 2]);
2513

2614
let stringSet = new Set(["a", "b"]);
@@ -35,77 +23,58 @@ setMethods.ts(51,26): error TS2345: Argument of type 'Set<string>' is not assign
3523

3624
numberSet.union([]);
3725
~~
38-
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
39-
!!! error TS2345: Type 'undefined[]' is missing the following properties from type 'SetLike<number>': has, size
26+
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
27+
!!! error TS2345: Type 'undefined[]' is missing the following properties from type 'ReadonlySetLike<unknown>': has, size
4028
numberSet.union(new Set);
4129
numberSet.union(stringSet);
42-
~~~~~~~~~
43-
!!! error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
44-
!!! error TS2345: The types returned by 'keys()[Symbol.iterator]().next(...)' are incompatible between these types.
45-
!!! error TS2345: Type 'IteratorResult<string, any>' is not assignable to type 'IteratorResult<number, any>'.
46-
!!! error TS2345: Type 'IteratorYieldResult<string>' is not assignable to type 'IteratorResult<number, any>'.
47-
!!! error TS2345: Type 'IteratorYieldResult<string>' is not assignable to type 'IteratorYieldResult<number>'.
48-
!!! error TS2345: Type 'string' is not assignable to type 'number'.
4930
numberSet.union(numberMap);
5031
numberSet.union(numberSetLike);
5132

5233
numberSet.intersection([]);
5334
~~
54-
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
35+
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
5536
numberSet.intersection(new Set);
5637
numberSet.intersection(stringSet);
57-
~~~~~~~~~
58-
!!! error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
5938
numberSet.intersection(numberMap);
6039
numberSet.intersection(numberSetLike);
6140

6241
numberSet.difference([]);
6342
~~
64-
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
43+
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
6544
numberSet.difference(new Set);
6645
numberSet.difference(stringSet);
67-
~~~~~~~~~
68-
!!! error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
6946
numberSet.difference(numberMap);
7047
numberSet.difference(numberSetLike);
7148

7249
numberSet.symmetricDifference([]);
7350
~~
74-
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
51+
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
7552
numberSet.symmetricDifference(new Set);
7653
numberSet.symmetricDifference(stringSet);
77-
~~~~~~~~~
78-
!!! error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
7954
numberSet.symmetricDifference(numberMap);
8055
numberSet.symmetricDifference(numberSetLike);
8156

8257
numberSet.isSubsetOf([]);
8358
~~
84-
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
59+
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
8560
numberSet.isSubsetOf(new Set);
8661
numberSet.isSubsetOf(stringSet);
87-
~~~~~~~~~
88-
!!! error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
8962
numberSet.isSubsetOf(numberMap);
9063
numberSet.isSubsetOf(numberSetLike);
9164

9265
numberSet.isSupersetOf([]);
9366
~~
94-
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
67+
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
9568
numberSet.isSupersetOf(new Set);
9669
numberSet.isSupersetOf(stringSet);
97-
~~~~~~~~~
98-
!!! error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
9970
numberSet.isSupersetOf(numberMap);
10071
numberSet.isSupersetOf(numberSetLike);
10172

10273
numberSet.isDisjointFrom([]);
10374
~~
104-
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'SetLike<number>'.
75+
!!! error TS2345: Argument of type 'undefined[]' is not assignable to parameter of type 'ReadonlySetLike<unknown>'.
10576
numberSet.isDisjointFrom(new Set);
10677
numberSet.isDisjointFrom(stringSet);
107-
~~~~~~~~~
108-
!!! error TS2345: Argument of type 'Set<string>' is not assignable to parameter of type 'SetLike<number>'.
10978
numberSet.isDisjointFrom(numberMap);
11079
numberSet.isDisjointFrom(numberSetLike);
11180

0 commit comments

Comments
 (0)