##// END OF EJS Templates
sync
sync

File last commit:

r2:8ec37bf1b4d1 default
r8:6d80d7901b4c v1.0.0-rc3 default
Show More
cookie.d.ts
19 lines | 409 B | video/mp2t | TypeScriptLexer
interface CookieProps {
expires?: Date | string | number;
path?: string;
domain?: string;
secure?: boolean;
}
interface Cookie {
/* Get or set a cookie. */
(name: string, value?: string, props?: CookieProps): string;
/**
* Use to determine if the current browser supports cookies or not.
*/
isSupported(): boolean;
}
declare const cookie: Cookie;
export = cookie;