UNPKG

@methodus/server

Version:
11 lines (10 loc) 1.21 kB
import 'reflect-metadata'; export declare function Body(name?: string, type?: any): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function Param(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function Files(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function Headers(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function Cookies(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function Query(name?: string, type?: any, defaultValue?: any): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function SecurityContext(name?: string, type?: any): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function Response(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void; export declare function Request(name?: string): (target: any, propertyKey: string | symbol, parameterIndex: number) => void;