UNPKG

1.5 kBTypeScriptView Raw
1import * as ts from 'typescript';
2export declare function isConditionalType(type: ts.Type): type is ts.ConditionalType;
3export declare function isEnumType(type: ts.Type): type is ts.EnumType;
4export declare function isGenericType(type: ts.Type): type is ts.GenericType;
5export declare function isIndexedAccessType(type: ts.Type): type is ts.IndexedAccessType;
6export declare function isIndexedAccessype(type: ts.Type): type is ts.IndexType;
7export declare function isInstantiableType(type: ts.Type): type is ts.InstantiableType;
8export declare function isInterfaceType(type: ts.Type): type is ts.InterfaceType;
9export declare function isIntersectionType(type: ts.Type): type is ts.IntersectionType;
10export declare function isLiteralType(type: ts.Type): type is ts.LiteralType;
11export declare function isObjectType(type: ts.Type): type is ts.ObjectType;
12export declare function isSubstitutionType(type: ts.Type): type is ts.SubstitutionType;
13export declare function isTypeParameter(type: ts.Type): type is ts.TypeParameter;
14export declare function isTypeReference(type: ts.Type): type is ts.TypeReference;
15export declare function isTypeVariable(type: ts.Type): type is ts.TypeParameter | ts.IndexedAccessType;
16export declare function isUnionOrIntersectionType(type: ts.Type): type is ts.UnionOrIntersectionType;
17export declare function isUnionType(type: ts.Type): type is ts.UnionType;
18export declare function isUniqueESSymbolType(type: ts.Type): type is ts.UniqueESSymbolType;