UNPKG

524 BTypeScriptView Raw
1import { HandlerOptions } from '../decorator-options/HandlerOptions';
2/**
3 * Registers a controller method to be executed when DELETE request comes on a given route.
4 * Must be applied on a controller action.
5 */
6export declare function Delete(route?: RegExp, options?: HandlerOptions): Function;
7/**
8 * Registers a controller method to be executed when DELETE request comes on a given route.
9 * Must be applied on a controller action.
10 */
11export declare function Delete(route?: string, options?: HandlerOptions): Function;