UNPKG

typescript

Version:

TypeScript is a language for application scale JavaScript development

78 lines (76 loc) • 3.74 kB
// Code generated by tools/scripts/tsc/generate-enums.ts from tsc/internal/checker/types.go. DO NOT EDIT. export declare enum TypeFlags { None = 0, Any = 1 << 0, Unknown = 1 << 1, Undefined = 1 << 2, Null = 1 << 3, Void = 1 << 4, String = 1 << 5, Number = 1 << 6, BigInt = 1 << 7, Boolean = 1 << 8, ESSymbol = 1 << 9, StringLiteral = 1 << 10, NumberLiteral = 1 << 11, BigIntLiteral = 1 << 12, BooleanLiteral = 1 << 13, UniqueESSymbol = 1 << 14, EnumLiteral = 1 << 15, Enum = 1 << 16, NonPrimitive = 1 << 17, Never = 1 << 18, TypeParameter = 1 << 19, Object = 1 << 20, Index = 1 << 21, TemplateLiteral = 1 << 22, StringMapping = 1 << 23, Substitution = 1 << 24, IndexedAccess = 1 << 25, Conditional = 1 << 26, Union = 1 << 27, Intersection = 1 << 28, Reserved1 = 1 << 29, Reserved2 = 1 << 30, Reserved3 = 1 << 31, AnyOrUnknown = Any | Unknown, Nullable = Undefined | Null, Literal = StringLiteral | NumberLiteral | BigIntLiteral | BooleanLiteral, Unit = Enum | Literal | UniqueESSymbol | Nullable, Freshable = Enum | Literal, StringOrNumberLiteral = StringLiteral | NumberLiteral, StringOrNumberLiteralOrUnique = StringLiteral | NumberLiteral | UniqueESSymbol, DefinitelyFalsy = StringLiteral | NumberLiteral | BigIntLiteral | BooleanLiteral | Void | Undefined | Null, PossiblyFalsy = DefinitelyFalsy | String | Number | BigInt | Boolean, Intrinsic = Any | Unknown | String | Number | BigInt | ESSymbol | Void | Undefined | Null | Never | NonPrimitive, StringLike = String | StringLiteral | TemplateLiteral | StringMapping, NumberLike = Number | NumberLiteral | Enum, BigIntLike = BigInt | BigIntLiteral, BooleanLike = Boolean | BooleanLiteral, EnumLike = Enum | EnumLiteral, ESSymbolLike = ESSymbol | UniqueESSymbol, VoidLike = Void | Undefined, Primitive = StringLike | NumberLike | BigIntLike | BooleanLike | EnumLike | ESSymbolLike | VoidLike | Null, DefinitelyNonNullable = StringLike | NumberLike | BigIntLike | BooleanLike | EnumLike | ESSymbolLike | Object | NonPrimitive, DisjointDomains = NonPrimitive | StringLike | NumberLike | BigIntLike | BooleanLike | ESSymbolLike | VoidLike | Null, UnionOrIntersection = Union | Intersection, StructuredType = Object | Union | Intersection, TypeVariable = TypeParameter | IndexedAccess, InstantiableNonPrimitive = TypeVariable | Conditional | Substitution, InstantiablePrimitive = Index | TemplateLiteral | StringMapping, Instantiable = InstantiableNonPrimitive | InstantiablePrimitive, StructuredOrInstantiable = StructuredType | Instantiable, ObjectFlagsType = Any | Nullable | Never | Object | Union | Intersection, Simplifiable = IndexedAccess | Conditional | Index, Singleton = Any | Unknown | String | Number | Boolean | BigInt | ESSymbol | Void | Undefined | Null | Never | NonPrimitive, Narrowable = Any | Unknown | StructuredOrInstantiable | StringLike | NumberLike | BigIntLike | BooleanLike | ESSymbol | UniqueESSymbol | NonPrimitive, IncludesMask = Any | Unknown | Primitive | Never | Object | Union | Intersection | NonPrimitive | TemplateLiteral | StringMapping, IncludesMissingType = TypeParameter, IncludesNonWideningType = Index, IncludesWildcard = IndexedAccess, IncludesEmptyObject = Conditional, IncludesInstantiable = Substitution, IncludesConstrainedTypeVariable = Reserved1, IncludesError = Reserved2, NotPrimitiveUnion = Any | Unknown | Void | Never | Object | Intersection | IncludesInstantiable, }