@@ -4,14 +4,14 @@ enumAssignmentCompat3.ts(70,1): error TS2322: Type 'Cd.E' is not assignable to t
4
4
Each declaration of 'E.c' differs in its value, where '2' was expected but '0' was given.
5
5
enumAssignmentCompat3.ts(71,1): error TS2322: Type 'Nope' is not assignable to type 'E'.
6
6
enumAssignmentCompat3.ts(72,1): error TS2322: Type 'Decl.E' is not assignable to type 'First.E'.
7
- Each declaration of 'E.c' differs in its value, where '2' was expected but '3' was given .
7
+ Values of 'E.a' are not sufficiently known .
8
8
enumAssignmentCompat3.ts(75,1): error TS2322: Type 'First.E' is not assignable to type 'Ab.E'.
9
9
Property 'c' is missing in type 'Ab.E'.
10
10
enumAssignmentCompat3.ts(76,1): error TS2322: Type 'First.E' is not assignable to type 'Cd.E'.
11
11
Property 'a' is missing in type 'Cd.E'.
12
12
enumAssignmentCompat3.ts(77,1): error TS2322: Type 'E' is not assignable to type 'Nope'.
13
13
enumAssignmentCompat3.ts(78,1): error TS2322: Type 'First.E' is not assignable to type 'Decl.E'.
14
- Each declaration of 'E.c' differs in its value, where '3' was expected but '2' was given .
14
+ Values of 'E.a' are not sufficiently known .
15
15
enumAssignmentCompat3.ts(82,1): error TS2322: Type 'Const.E' is not assignable to type 'First.E'.
16
16
enumAssignmentCompat3.ts(83,1): error TS2322: Type 'First.E' is not assignable to type 'Const.E'.
17
17
enumAssignmentCompat3.ts(86,1): error TS2322: Type 'Merged.E' is not assignable to type 'First.E'.
@@ -103,7 +103,7 @@ enumAssignmentCompat3.ts(87,1): error TS2322: Type 'First.E' is not assignable t
103
103
abc = decl; // bad - value of 'c' differs between these enums
104
104
~~~
105
105
!!! error TS2322: Type 'Decl.E' is not assignable to type 'First.E'.
106
- !!! error TS2322: Each declaration of 'E.c' differs in its value, where '2' was expected but '3' was given .
106
+ !!! error TS2322: Values of 'E.a' are not sufficiently known .
107
107
secondAbc = abc; // ok
108
108
secondAbcd = abc; // ok
109
109
secondAb = abc; // missing 'c'
@@ -120,7 +120,7 @@ enumAssignmentCompat3.ts(87,1): error TS2322: Type 'First.E' is not assignable t
120
120
decl = abc; // bad - value of 'c' differs between these enums
121
121
~~~~
122
122
!!! error TS2322: Type 'First.E' is not assignable to type 'Decl.E'.
123
- !!! error TS2322: Each declaration of 'E.c' differs in its value, where '3' was expected but '2' was given .
123
+ !!! error TS2322: Values of 'E.a' are not sufficiently known .
124
124
125
125
// const is only assignable to itself
126
126
k = k;
0 commit comments