Skip to content

Commit a712344

Browse files
committed
Add tests
1 parent 7bb8cfe commit a712344

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/cases/conformance/types/conditional/conditionalTypes1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,3 +196,7 @@ type O6 = Or<false, boolean>; // boolean
196196
type O7 = Or<boolean, true>; // true
197197
type O8 = Or<true, boolean>; // true
198198
type O9 = Or<boolean, boolean>; // boolean
199+
200+
type T40 = never extends never ? true : false; // true
201+
type T41 = number extends never ? true : false; // false
202+
type T42 = never extends number ? true : false; // boolean

0 commit comments

Comments
 (0)