zents
Version:
ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.
12 lines (11 loc) • 909 B
TypeScript
import type { Class } from 'type-fest';
export declare function body(target: Class, propertyKey: string, parameterIndex: number): void;
export declare function query(target: Class, propertyKey: string, parameterIndex: number): void;
export declare function params(target: Class, propertyKey: string, parameterIndex: number): void;
export declare function cookie(target: Class, propertyKey: string, parameterIndex: number): void;
export declare function request(target: Class, propertyKey: string, parameterIndex: number): void;
export declare const req: typeof request;
export declare function response(target: Class, propertyKey: string, parameterIndex: number): void;
export declare const res: typeof response;
export declare function error(target: Class, propertyKey: string, parameterIndex: number): void;
export declare function context(target: Class, propertyKey: string, parameterIndex: number): void;