UNPKG

reest

Version:

A library inspired by NestJS's elegance, specifically designed for efficient serverless API development on AWS Lambda. It streamlines the creation of microservices with automated Swagger documentation and enhanced decorator-based middleware support, makin

16 lines (15 loc) 483 B
/// <reference types="node" /> import { ValidationOptions } from "class-validator"; interface IsFileOptions { mime: ("image/jpg" | "image/png" | "image/jpeg")[]; } export declare function IsFile(options: IsFileOptions, validationOptions?: ValidationOptions): (object: Object, propertyName: string) => void; export declare class File { fieldname: string; originalname: string; encoding: string; mimetype: string; buffer: Buffer; size: number; } export {};