cookie.d.ts
19 lines
| 409 B
| video/mp2t
|
TypeScriptLexer
cin
|
r2 | 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; | ||||