UNPKG

@edgeguideab/expect

Version:

Check for user input in a consistent way and generate error messages for missings

11 lines (10 loc) 296 B
import { ExpectTypes } from "../types/index"; export { parseType, parseFunctionWrapper }; declare function parseType({ value, type }: { value: any; type: ExpectTypes; }): any; declare function parseFunctionWrapper({ value, parse, }: { value: any; parse: (x: any) => any; }): any;