docs(cookie): missing jsdoc for `serialize` function and `serializeoptions` · Issue #492 · tinyhttp/tinyhttp · GitHub
Skip to content

docs(cookie): missing jsdoc for serialize function and serializeoptions #492

Description

@tang-vu

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.

Activity

  1. added a commit that references this issue on Apr 4, 2026
    268c1f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions