Files
memecoin-botV2/.pnpm-store/v10/files/35/cd5a8dbde950c02babe83812a043adeb2b30878e7644d5de1077660d3a7ad7d26c27f0b58911346626950e922ca9b9240ed7e92be48265301d64f26db5452b

10 lines
589 B
Plaintext

import * as ts from 'typescript';
/**
* @param type Type being checked by name.
* @param allowAny Whether to consider `any` and `unknown` to match.
* @param allowedNames Symbol names checking on the type.
* @param matchAnyInstead Whether to instead just check if any parts match, rather than all parts.
* @returns Whether the type is, extends, or contains the allowed names (or all matches the allowed names, if mustMatchAll is true).
*/
export declare function containsAllTypesByName(type: ts.Type, allowAny: boolean, allowedNames: Set<string>, matchAnyInstead?: boolean): boolean;