next-validations
    Preparing search index...

    Function withValidation

    • Parameters

      • __namedParameters: ValidationHoF

      Returns (
          handler?: (req: NextApiRequest, res: any) => any,
      ) => (req: NextApiRequest, res: any, next?: NextHandler) => Promise<any>