UNPKG

express-validator

Version:

Express middleware for the validator module.

8 lines (7 loc) 287 B
import { Location, Request } from './base'; export declare type MatchedDataOptions = { includeOptionals: boolean; locations: Location[]; onlyValidData: boolean; }; export declare function matchedData(req: Request, options?: Partial<MatchedDataOptions>): Record<string, any>;