Skip to content

Add JSDoc documentation to ListFilterOption type#2408

Draft
Lang-Qiu wants to merge 1 commit into
generalaction:mainfrom
Lang-Qiu:auto-pr/docstrings-1780786005
Draft

Add JSDoc documentation to ListFilterOption type#2408
Lang-Qiu wants to merge 1 commit into
generalaction:mainfrom
Lang-Qiu:auto-pr/docstrings-1780786005

Conversation

@Lang-Qiu

@Lang-Qiu Lang-Qiu commented Jun 6, 2026

Copy link
Copy Markdown

Problem

The public type ListFilterOption in the list filters component lacked JSDoc comments, reducing code readability and documentation. This type is generic and used for filter options, so clear documentation helps developers understand its purpose and usage.

Changes

  • Added a JSDoc comment to ListFilterOption type in src/renderer/lib/components/list-filters/types.ts, including a @description and @template tag to explain the type and its generic parameter.

Verification

  • Confirm that TypeScript compilation passes without errors (e.g., by running tsc --noEmit).
  • Review the JSDoc comment for correctness and consistency with repository style.

@arnestrickmann

Copy link
Copy Markdown
Contributor

Hi @Lang-Qiu - thank you for opening this PR and for your interest in contributing.

Is this PR ready for review?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants