Description
In docs/docs/api/Cookies.md, the sameSite field type is documented as:
* **sameSite** `"String"|"Lax"|"None"` (optional)
But the actual source code in lib/web/cookies/index.js line 20 defines it as:
@property {"Strict"|"Lax"|"None"} [sameSite]
The first value should be "Strict", not "String". This is a simple typo.
Fix
Change "String" to "Strict" in the docs.
Description
In
docs/docs/api/Cookies.md, thesameSitefield type is documented as:But the actual source code in
lib/web/cookies/index.jsline 20 defines it as:The first value should be
"Strict", not"String". This is a simple typo.Fix
Change
"String"to"Strict"in the docs.