##// END OF EJS Templates
Added @prototype decorator
Added @prototype decorator

File last commit:

r2:8ec37bf1b4d1 default
r24:9b77ac3bf8f2 v1.0.0-rc11 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;