Skip to content

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

@tang-vu

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.

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