Skip to content

Commit

Permalink
fix(typings): add name field to cookie option (#4099)
Browse files Browse the repository at this point in the history
  • Loading branch information
douira authored and darrachequesne committed Sep 20, 2021
1 parent 7a74b66 commit 033c5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Expand Up @@ -107,7 +107,7 @@ interface EngineOptions {
* might be used for sticky-session. Defaults to not sending any cookie.
* @default false
*/
cookie: CookieSerializeOptions | boolean;
cookie: (CookieSerializeOptions & { name: string }) | boolean;
/**
* the options that will be forwarded to the cors module
*/
Expand Down

0 comments on commit 033c5d3

Please sign in to comment.