Skip to content

Commit 6b882c7

Browse files
committed
Accept new baselines
1 parent 1ae0b46 commit 6b882c7

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,15 +2149,14 @@ declare namespace ts {
21492149
declaration?: SignatureDeclaration;
21502150
}
21512151
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,
21572155
}
21582156
interface InferenceInfo {
21592157
typeParameter: TypeParameter;
21602158
candidates: Type[];
2159+
contraCandidates: Type[];
21612160
inferredType: Type;
21622161
priority: InferencePriority;
21632162
topLevel: boolean;

tests/baselines/reference/api/typescript.d.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,15 +2149,14 @@ declare namespace ts {
21492149
declaration?: SignatureDeclaration;
21502150
}
21512151
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,
21572155
}
21582156
interface InferenceInfo {
21592157
typeParameter: TypeParameter;
21602158
candidates: Type[];
2159+
contraCandidates: Type[];
21612160
inferredType: Type;
21622161
priority: InferencePriority;
21632162
topLevel: boolean;

0 commit comments

Comments
 (0)