Urara-Blog/node_modules/.pnpm-store/v3/files/17/826490034286f9eaed02365232ab1c35c7b5b6312c8608a4d2416e5ce73f748904317bf17ff74536f7b77cffb0ece77823018c51feee3737c8155e17d2bbad
2022-08-14 01:14:53 +08:00

11 lines
No EOL
520 B
Text

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;
/**
* Checks if the given type is (or accepts) the given flags
* @param isReceiver true if the type is a receiving type (i.e. the type of a called function's parameter)
*/
export declare function isTypeFlagSet(type: ts.Type, flagsToCheck: ts.TypeFlags, isReceiver?: boolean): boolean;
//# sourceMappingURL=typeFlagUtils.d.ts.map