Skip to content

Commit 271d598

Browse files
authored
fix: fix jsdoc in cookies/parse.js (#3469)
1 parent b9f4942 commit 271d598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/cookies/parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function parseSetCookie (header) {
8585
* Parses the remaining attributes of a set-cookie header
8686
* @see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4
8787
* @param {string} unparsedAttributes
88-
* @param {[Object.<string, unknown>]={}} cookieAttributeList
88+
* @param {Object.<string, unknown>} [cookieAttributeList={}]
8989
*/
9090
function parseUnparsedAttributes (unparsedAttributes, cookieAttributeList = {}) {
9191
// 1. If the unparsed-attributes string is empty, skip the rest of

0 commit comments

Comments
 (0)