Description
The serialize function and SerializeOptions type are part of the public API but lack JSDoc comments. While the parse function is well-documented, the serialization API is not. This degrades the IDE developer experience, as users won't get inline help for the configuration fields (like sameSite, secure, etc.) or the function signature.
Severity: medium
File: packages/cookie/src/index.ts
Expected Behavior
The code should handle this case properly to avoid unexpected errors or degraded quality.
Found by ContribAI automated code analysis.