Skip to content

Commit ae1add7

Browse files
committed
Update tests
1 parent 7d4259b commit ae1add7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/cases/conformance/types/typeRelationships/typeInference/unionTypeInference.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ const c5 = f3("abc"); // never
2828

2929
declare function f4<T>(x: string & T): T;
3030

31-
var d1 = f4("abc");
32-
var d2 = f4(s);
33-
var d3 = f4(42); // Error
31+
const d1 = f4("abc");
32+
const d2 = f4(s);
33+
const d3 = f4(42); // Error
3434

3535
// Repros from #32434
3636

0 commit comments

Comments
 (0)