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
5863
-
HomomorphicMappedType=1<<3,// Reverse inference for homomorphic mapped type
5864
-
PartialHomomorphicMappedType=1<<4,// Partial reverse inference for homomorphic mapped type
5865
-
MappedTypeConstraint=1<<5,// Reverse inference for mapped type
5866
-
ContravariantConditional=1<<6,// Conditional type in contravariant position
5867
-
ReturnType=1<<7,// Inference made from return type of generic function
5868
-
LiteralKeyof=1<<8,// Inference made from a string literal to a keyof T
5869
-
NoConstraints=1<<9,// Don't infer from constraints of instantiable types
5870
-
AlwaysStrict=1<<10,// Always use strict rules for contravariant inferences
5871
-
MaxValue=1<<11,// Seed for inference priority tracking
5872
-
5873
-
PriorityImpliesCombination=ReturnType|MappedTypeConstraint|LiteralKeyof,// These priorities imply that the resulting type should be a combination of all candidates
5861
+
TemplateLiteralPlaceholder=1<<1,// Inference to a template literal type placeholder
SubstituteSource=1<<3,// Source of inference originated within a substitution type's substitute
5864
+
HomomorphicMappedType=1<<4,// Reverse inference for homomorphic mapped type
5865
+
PartialHomomorphicMappedType=1<<5,// Partial reverse inference for homomorphic mapped type
5866
+
MappedTypeConstraint=1<<6,// Reverse inference for mapped type
5867
+
ContravariantConditional=1<<7,// Conditional type in contravariant position
5868
+
ReturnType=1<<8,// Inference made from return type of generic function
5869
+
LiteralKeyof=1<<9,// Inference made from a string literal to a keyof T
5870
+
NoConstraints=1<<10,// Don't infer from constraints of instantiable types
5871
+
AlwaysStrict=1<<11,// Always use strict rules for contravariant inferences
5872
+
MaxValue=1<<12,// Seed for inference priority tracking
5873
+
5874
+
PriorityImpliesCombination=ReturnType|MappedTypeConstraint|LiteralKeyof|TemplateLiteralPlaceholder,// These priorities imply that the resulting type should be a combination of all candidates
5874
5875
Circularity=-1,// Inference circularity (value less than all other priorities)
0 commit comments