Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
10 lines
589 B
Plaintext
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;
|