@types/cookie
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -1,2 +0,2 @@ | ||
// Type definitions for cookie v0.3.0 | ||
// Type definitions for cookie 0.3 | ||
// Project: https://github.com/jshttp/cookie | ||
@@ -6,3 +6,3 @@ // Definitions by: Pine Mizune <https://github.com/pine613> | ||
interface CookieSerializeOptions { | ||
export interface CookieSerializeOptions { | ||
/** | ||
@@ -14,2 +14,3 @@ * Specifies the value for the Domain Set-Cookie attribute. By default, no | ||
domain?: string; | ||
/** | ||
@@ -25,3 +26,4 @@ * Specifies a function that will be used to encode a cookie's value. Since | ||
*/ | ||
encode?: (val: string) => string; | ||
encode?(val: string): string; | ||
/** | ||
@@ -89,3 +91,3 @@ * Specifies the `Date` object to be the value for the `Expires` | ||
interface CookieParseOptions { | ||
export interface CookieParseOptions { | ||
/** | ||
@@ -103,3 +105,3 @@ * Specifies a function that will be used to decode a cookie's value. Since | ||
*/ | ||
decode?: (val: string) => string; | ||
decode?(val: string): string; | ||
} | ||
@@ -106,0 +108,0 @@ |
{ | ||
"name": "@types/cookie", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "TypeScript definitions for cookie", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "fcf12eb1968c9b006cfd7c256cc5d379e85403474f458e7bd9c399f35a3795cb", | ||
"typesPublisherContentHash": "bd6301948833aa217a9067b1bdb20cf0be669cf55ae6bba229f32c8910f2427a", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/cookie | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cookie | ||
Additional Details | ||
* Last updated: Sat, 11 Mar 2017 00:13:28 GMT | ||
* Last updated: Mon, 24 Jul 2017 18:01:07 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
7263
4