File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2799,13 +2799,13 @@ namespace ts {
2799
2799
BooleanLike = Boolean | BooleanLiteral ,
2800
2800
EnumLike = Enum | EnumLiteral ,
2801
2801
UnionOrIntersection = Union | Intersection ,
2802
- StructuredType = Object | Union | Intersection | NonPrimitive ,
2802
+ StructuredType = Object | Union | Intersection ,
2803
2803
StructuredOrTypeParameter = StructuredType | TypeParameter | Index ,
2804
2804
TypeVariable = TypeParameter | IndexedAccess ,
2805
2805
2806
2806
// 'Narrowable' types are types where narrowing actually narrows.
2807
2807
// This *should* be every type other than null, undefined, void, and never
2808
- Narrowable = Any | StructuredType | TypeParameter | Index | IndexedAccess | StringLike | NumberLike | BooleanLike | ESSymbol ,
2808
+ Narrowable = Any | StructuredType | TypeParameter | Index | IndexedAccess | StringLike | NumberLike | BooleanLike | ESSymbol | NonPrimitive ,
2809
2809
NotUnionOrUnit = Any | ESSymbol | Object | NonPrimitive ,
2810
2810
/* @internal */
2811
2811
RequiresWidening = ContainsWideningType | ContainsObjectLiteral ,
You can’t perform that action at this time.
0 commit comments