Files
memecoin-botV2/.pnpm-store/v10/files/27/cd8c8ca12ba422801e1e0e3548a3476c8bdca0d4ca787144700becfe7d6194baa491b837cb200d56235df7b00d3743bd11b90b5201a0e9e141345cd647d029

18 lines
786 B
Plaintext

import * as ts from 'typescript';
/**
* Gets all of the type flags in a type, iterating through unions automatically.
*/
export declare function getTypeFlags(type: ts.Type): ts.TypeFlags;
/**
* @param flagsToCheck The composition of one or more `ts.TypeFlags`.
* @param isReceiver Whether the type is a receiving type (e.g. the type of a
* called function's parameter).
* @remarks
* Note that if the type is a union, this function will decompose it into the
* parts and get the flags of every union constituent. If this is not desired,
* use the `isTypeFlag` function from tsutils.
*/
export declare function isTypeFlagSet(type: ts.Type, flagsToCheck: ts.TypeFlags,
/** @deprecated This params is not used and will be removed in the future.*/
isReceiver?: boolean): boolean;