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.
8 lines (7 loc) • 551 B
TypeScript
import type { Class } from 'type-fest';
export declare function get(path: string): (target: any, propertyKey: string) => void;
export declare function post(path: string): (target: any, propertyKey: string) => void;
export declare function put(path: string): (target: any, propertyKey: string) => void;
export declare function del(path: string): (target: any, propertyKey: string) => void;
export declare function options(path: string): (target: any, propertyKey: string) => void;
export declare function prefix(path: string): (target: Class) => void;