File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
tests/baselines/reference/api Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -2149,15 +2149,14 @@ declare namespace ts {
2149
2149
declaration ?: SignatureDeclaration ;
2150
2150
}
2151
2151
enum InferencePriority {
2152
- Contravariant = 1 ,
2153
- NakedTypeVariable = 2 ,
2154
- MappedType = 4 ,
2155
- ReturnType = 8 ,
2156
- NeverType = 16 ,
2152
+ NakedTypeVariable = 1 ,
2153
+ MappedType = 2 ,
2154
+ ReturnType = 4 ,
2157
2155
}
2158
2156
interface InferenceInfo {
2159
2157
typeParameter : TypeParameter ;
2160
2158
candidates : Type [ ] ;
2159
+ contraCandidates : Type [ ] ;
2161
2160
inferredType : Type ;
2162
2161
priority : InferencePriority ;
2163
2162
topLevel : boolean ;
Original file line number Diff line number Diff line change @@ -2149,15 +2149,14 @@ declare namespace ts {
2149
2149
declaration ?: SignatureDeclaration ;
2150
2150
}
2151
2151
enum InferencePriority {
2152
- Contravariant = 1 ,
2153
- NakedTypeVariable = 2 ,
2154
- MappedType = 4 ,
2155
- ReturnType = 8 ,
2156
- NeverType = 16 ,
2152
+ NakedTypeVariable = 1 ,
2153
+ MappedType = 2 ,
2154
+ ReturnType = 4 ,
2157
2155
}
2158
2156
interface InferenceInfo {
2159
2157
typeParameter : TypeParameter ;
2160
2158
candidates : Type [ ] ;
2159
+ contraCandidates : Type [ ] ;
2161
2160
inferredType : Type ;
2162
2161
priority : InferencePriority ;
2163
2162
topLevel : boolean ;
You can’t perform that action at this time.
0 commit comments