Skip to content
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.

Commit

Permalink
Allow boolean again for custom cookie attributes
Browse files Browse the repository at this point in the history
So that such attributes without a value are possible; fixing regression
introduced in ce66c8c.
  • Loading branch information
carhartl committed Jun 24, 2023
1 parent 0ad6172 commit f80d5ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface WellKnownCookieAttributes {

export type CookieAttributes =
| WellKnownCookieAttributes
| { [property: string]: string | undefined }
| { [property: string]: string | boolean | undefined }

export type CookieAttributesConfig = Readonly<CookieAttributes>

Expand Down

0 comments on commit f80d5ab

Please sign in to comment.