UNPKG

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