UNPKG

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