UNPKG

335 BTypeScriptView Raw
1import { ParamOptions } from '../decorator-options/ParamOptions';
2/**
3 * Injects a request's cookie value to the controller action parameter.
4 * Must be applied on a controller action parameter.
5 */
6export declare function CookieParam(name: string, options?: ParamOptions): (object: Object, methodName: string, index: number) => void;