@@ -10,25 +10,25 @@ declare const sym2: unique symbol;
10
10
type T1 = string & 'a'; // 'a'
11
11
>T1 : Symbol(T1, Decl(intersectionReduction.ts, 3, 34))
12
12
13
- type T2 = 'a' & string & 'b'; // 'a' & 'b'
13
+ type T2 = 'a' & string & 'b'; // never
14
14
>T2 : Symbol(T2, Decl(intersectionReduction.ts, 5, 23))
15
15
16
16
type T3 = number & 10; // 10
17
17
>T3 : Symbol(T3, Decl(intersectionReduction.ts, 6, 29))
18
18
19
- type T4 = 10 & number & 20; // 10 & 20
19
+ type T4 = 10 & number & 20; // never
20
20
>T4 : Symbol(T4, Decl(intersectionReduction.ts, 7, 22))
21
21
22
22
type T5 = symbol & typeof sym1; // typeof sym1
23
23
>T5 : Symbol(T5, Decl(intersectionReduction.ts, 8, 27))
24
24
>sym1 : Symbol(sym1, Decl(intersectionReduction.ts, 2, 13))
25
25
26
- type T6 = typeof sym1 & symbol & typeof sym2; // typeof sym1 & typeof sym2
26
+ type T6 = typeof sym1 & symbol & typeof sym2; // never
27
27
>T6 : Symbol(T6, Decl(intersectionReduction.ts, 9, 31))
28
28
>sym1 : Symbol(sym1, Decl(intersectionReduction.ts, 2, 13))
29
29
>sym2 : Symbol(sym2, Decl(intersectionReduction.ts, 3, 13))
30
30
31
- type T7 = string & 'a' & number & 10 & symbol & typeof sym1; // 'a' & 10 & typeof sym1
31
+ type T7 = string & 'a' & number & 10 & symbol & typeof sym1; // never
32
32
>T7 : Symbol(T7, Decl(intersectionReduction.ts, 10, 45))
33
33
>sym1 : Symbol(sym1, Decl(intersectionReduction.ts, 2, 13))
34
34
0 commit comments