You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SubstituteSource=1<<2,// Source of inference originated within a substitution type's substitute
5830
-
HomomorphicMappedType=1<<3,// Reverse inference for homomorphic mapped type
5831
-
PartialHomomorphicMappedType=1<<4,// Partial reverse inference for homomorphic mapped type
5832
-
MappedTypeConstraint=1<<5,// Reverse inference for mapped type
5833
-
ContravariantConditional=1<<6,// Conditional type in contravariant position
5834
-
ReturnType=1<<7,// Inference made from return type of generic function
5835
-
LiteralKeyof=1<<8,// Inference made from a string literal to a keyof T
5836
-
NoConstraints=1<<9,// Don't infer from constraints of instantiable types
5837
-
AlwaysStrict=1<<10,// Always use strict rules for contravariant inferences
5838
-
MaxValue=1<<11,// Seed for inference priority tracking
5839
-
5840
-
PriorityImpliesCombination=ReturnType|MappedTypeConstraint|LiteralKeyof,// These priorities imply that the resulting type should be a combination of all candidates
5828
+
TemplateLiteralPlaceholder=1<<1,// Inference to a template literal type placeholder
SubstituteSource=1<<3,// Source of inference originated within a substitution type's substitute
5831
+
HomomorphicMappedType=1<<4,// Reverse inference for homomorphic mapped type
5832
+
PartialHomomorphicMappedType=1<<5,// Partial reverse inference for homomorphic mapped type
5833
+
MappedTypeConstraint=1<<6,// Reverse inference for mapped type
5834
+
ContravariantConditional=1<<7,// Conditional type in contravariant position
5835
+
ReturnType=1<<8,// Inference made from return type of generic function
5836
+
LiteralKeyof=1<<9,// Inference made from a string literal to a keyof T
5837
+
NoConstraints=1<<10,// Don't infer from constraints of instantiable types
5838
+
AlwaysStrict=1<<11,// Always use strict rules for contravariant inferences
5839
+
MaxValue=1<<12,// Seed for inference priority tracking
5840
+
5841
+
PriorityImpliesCombination=ReturnType|MappedTypeConstraint|LiteralKeyof|TemplateLiteralPlaceholder,// These priorities imply that the resulting type should be a combination of all candidates
5841
5842
Circularity=-1,// Inference circularity (value less than all other priorities)
0 commit comments