You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(cookie): missing jsdoc for serialize function and serializeoptions #492
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.
Activity
docs(cookie): add JSDoc for serialize function and SerializeOptions