RockPaperScissors/node_modules/ow/dist/predicates/base-predicate.d.ts
2021-11-30 22:03:51 +01:00

15 lines
346 B
TypeScript

import { Main } from '..';
/**
@hidden
*/
export declare const testSymbol: unique symbol;
/**
@hidden
*/
export declare const isPredicate: (value: unknown) => value is BasePredicate<unknown>;
/**
@hidden
*/
export interface BasePredicate<T = unknown> {
[testSymbol](value: T, main: Main, label: string | Function, idLabel?: boolean): void;
}