We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99355c5 commit e388a26Copy full SHA for e388a26
src/compiler/types.ts
@@ -5008,7 +5008,7 @@ namespace ts {
5008
// This *should* be every type other than null, undefined, void, and never
5009
Narrowable = Any | Unknown | StructuredOrInstantiable | StringLike | NumberLike | BigIntLike | BooleanLike | ESSymbol | UniqueESSymbol | NonPrimitive,
5010
/* @internal */
5011
- NotPrimitiveUnion = Any | Unknown | Enum | Void | Never | StructuredOrInstantiable,
+ NotPrimitiveUnion = Any | Unknown | Enum | Void | Never | Object | Intersection | Instantiable,
5012
// The following flags are aggregated during union and intersection type construction
5013
5014
IncludesMask = Any | Unknown | Primitive | Never | Object | Union | Intersection | NonPrimitive | TemplateLiteral,
0 commit comments