@edgeguideab/expect
Version:
Check for user input in a consistent way and generate error messages for missings
13 lines (12 loc) • 404 B
TypeScript
import { ValidateFunction } from "../definitions";
export declare const ExpectType: {
readonly any: "any";
readonly number: "number";
readonly boolean: "boolean";
readonly string: "string";
readonly array: "array";
readonly object: "object";
readonly date: "date";
};
export declare type ExpectTypes = keyof typeof ExpectType;
export declare const validate: ValidateFunction;