UNPKG

ow

Version:

Function argument validation for humans

9 lines (7 loc) 321 B
/** Generates a complete message from all errors generated by predicates. @param errors - The errors generated by the predicates. @param isAny - If this function is called from the any argument. @hidden */ export declare const generateArgumentErrorMessage: (errors: Map<string, Set<string>>, isAny?: boolean) => string;