Skip to content

Commit 0611fbb

Browse files
committed
update baseline
1 parent b29b639 commit 0611fbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/baselines/reference/relationComplexityError.errors.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
relationComplexityError.ts(12,5): error TS2322: Type 'T1 & T2' is not assignable to type 'T1 | null'.
1+
relationComplexityError.ts(12,5): error TS2859: Excessive complexity comparing types 'T1 & T2' and 'T1 | null'.
22
relationComplexityError.ts(12,5): error TS2859: Excessive complexity comparing types 'T1 & T2' and 'T1 | null'.
33

44

@@ -16,7 +16,7 @@ relationComplexityError.ts(12,5): error TS2859: Excessive complexity comparing t
1616
function f2(x: T1 | null, y: T1 & T2) {
1717
x = y; // Complexity error
1818
~
19-
!!! error TS2322: Type 'T1 & T2' is not assignable to type 'T1 | null'.
19+
!!! error TS2859: Excessive complexity comparing types 'T1 & T2' and 'T1 | null'.
2020
~~~~~
2121
!!! error TS2859: Excessive complexity comparing types 'T1 & T2' and 'T1 | null'.
2222
}

0 commit comments

Comments
 (0)