UNPKG

express-cargo

Version:

express middleware for class-based request parsing

6 lines 414 B
import type { Request } from 'express'; import { TypedPropertyDecorator } from './types'; export declare function Transform<T>(transformer: (value: T) => T): TypedPropertyDecorator<T>; export declare function Request<T>(transformer: (req: Request) => T): TypedPropertyDecorator<T>; export declare function Virtual<T>(transformer: (obj: any) => T): TypedPropertyDecorator<T>; //# sourceMappingURL=transform.d.ts.map