tachijs
Version:
Highly testable dead simple web server written in Typescript
8 lines • 707 B
TypeScript
import express from 'express';
export declare function reqCookies(paramName?: string): (target: any, propertyKey: string, index: number) => void;
export declare type CookieSetter = (name: string, val: any, options?: express.CookieOptions) => express.Response;
export declare function cookieSetter(): (target: any, propertyKey: string, index: number) => void;
export declare type CookieClearer = (name: string, options?: any) => express.Response;
export declare function cookieClearer(): (target: any, propertyKey: string, index: number) => void;
export declare function reqSignedCookies(paramName?: string): (target: any, propertyKey: string, index: number) => void;
//# sourceMappingURL=reqCookies.d.ts.map