mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix validationErrors parameters to have optional mapErrors parameters
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ declare module ExpressValidator {
|
||||
assert(field:string, message:string): Validator;
|
||||
|
||||
onValidationError(func:(msg:string) => void): void;
|
||||
validationErrors(): any;
|
||||
validationErrors(mapErrors?: boolean): any;
|
||||
}
|
||||
|
||||
export interface Validator {
|
||||
|
||||
Reference in New Issue
Block a user