Skip to content

Commit c104aa1

Browse files
committed
Accept new baselines
1 parent 4af3a3b commit c104aa1

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2413,12 +2413,13 @@ declare namespace ts {
24132413
enum InferencePriority {
24142414
NakedTypeVariable = 1,
24152415
HomomorphicMappedType = 2,
2416-
MappedTypeConstraint = 4,
2417-
ReturnType = 8,
2418-
LiteralKeyof = 16,
2419-
NoConstraints = 32,
2420-
AlwaysStrict = 64,
2421-
PriorityImpliesCombination = 28
2416+
PartialHomomorphicMappedType = 4,
2417+
MappedTypeConstraint = 8,
2418+
ReturnType = 16,
2419+
LiteralKeyof = 32,
2420+
NoConstraints = 64,
2421+
AlwaysStrict = 128,
2422+
PriorityImpliesCombination = 56
24222423
}
24232424
/** @deprecated Use FileExtensionInfo instead. */
24242425
type JsFileExtensionInfo = FileExtensionInfo;

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2413,12 +2413,13 @@ declare namespace ts {
24132413
enum InferencePriority {
24142414
NakedTypeVariable = 1,
24152415
HomomorphicMappedType = 2,
2416-
MappedTypeConstraint = 4,
2417-
ReturnType = 8,
2418-
LiteralKeyof = 16,
2419-
NoConstraints = 32,
2420-
AlwaysStrict = 64,
2421-
PriorityImpliesCombination = 28
2416+
PartialHomomorphicMappedType = 4,
2417+
MappedTypeConstraint = 8,
2418+
ReturnType = 16,
2419+
LiteralKeyof = 32,
2420+
NoConstraints = 64,
2421+
AlwaysStrict = 128,
2422+
PriorityImpliesCombination = 56
24222423
}
24232424
/** @deprecated Use FileExtensionInfo instead. */
24242425
type JsFileExtensionInfo = FileExtensionInfo;

tests/baselines/reference/mappedTypeInferenceErrors.errors.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ tests/cases/conformance/types/mapped/mappedTypeInferenceErrors.ts(16,9): error T
2020
baz: 42
2121
~~~
2222
!!! error TS2322: Type 'number' is not assignable to type '() => unknown'.
23-
!!! related TS6500 tests/cases/conformance/types/mapped/mappedTypeInferenceErrors.ts:16:9: The expected type comes from property 'baz' which is declared here on type 'ComputedOf<{ bar: number; baz: unknown; }>'
23+
!!! related TS6500 tests/cases/conformance/types/mapped/mappedTypeInferenceErrors.ts:16:9: The expected type comes from property 'baz' which is declared here on type 'ComputedOf<{ bar: unknown; baz: unknown; }>'
2424
}
2525
});
2626

0 commit comments

Comments
 (0)