mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-31 11:40:47 +08:00
update definitions
This commit is contained in:
Vendored
+2
-2
@@ -20,7 +20,7 @@ declare module "cookies" {
|
||||
* Cookie header in the request. If such a cookie exists,
|
||||
* its value is returned. Otherwise, nothing is returned.
|
||||
*/
|
||||
get(name: string, opts?: IOptions): string;
|
||||
get(name: string, opts: IOptions): string;
|
||||
|
||||
/**
|
||||
* This sets the given cookie in the response and returns
|
||||
@@ -33,7 +33,7 @@ declare module "cookies" {
|
||||
* the current context to allow chaining.If the value is omitted,
|
||||
* an outbound header with an expired date is used to delete the cookie.
|
||||
*/
|
||||
set(name: string, value: string, opts?: IOptions): ICookies;
|
||||
set(name: string, value: string, opts: IOptions): ICookies;
|
||||
}
|
||||
|
||||
interface IOptions {
|
||||
|
||||
Reference in New Issue
Block a user