Skip to content

Commit 9e508b1

Browse files
committed
docs(web): add missing JSDoc @param annotations
Add @param documentation to isDisplayableValue and RelationshipTypeFilter to satisfy ESLint jsdoc/require-param rule.
1 parent 0215e19 commit 9e508b1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

apps/web/src/components/EntityDataDisplay.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ interface SectionData {
171171

172172
/**
173173
* Check if a value should be displayed (not null, undefined, empty string, or empty array)
174+
* @param value
174175
*/
175176
const isDisplayableValue = (value: unknown): boolean => {
176177
if (value === null || value === undefined) return false;

apps/web/src/components/relationship/RelationshipTypeFilter.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ export interface RelationshipTypeFilterProps {
4141
/**
4242
* Component for filtering relationships by type
4343
* Displays preset buttons and categorized chip toggles in collapsible sections
44+
* @param root0
45+
* @param root0.selectedTypes
46+
* @param root0.onChange
47+
* @param root0.title
4448
*/
4549
export const RelationshipTypeFilter = ({
4650
selectedTypes,

0 commit comments

Comments
 (0)