Skip to content

Add inline JSDoc comments to all public API types and interfaces #169

Description

@Akatenvictor

What

Add JSDoc documentation to all exported TypeScript interfaces, types, and function signatures across the codebase.

Why

Well-documented types improve IDE experience with hover tooltips and help developers understand API contracts without reading implementation.

Scope

In: JSDoc for all exported interfaces, types, and functions in lib/ and hooks/
Out: Full API documentation site

Acceptance Criteria

  • All exported interfaces have description and @Property tags
  • All exported functions have description, @PARAM, @returns tags
  • Complex types have usage examples
  • No TypeScript errors after adding JSDoc
  • IDE hover tooltips show documentation
  • Documentation passes eslint rule for JSDoc

Technical Context

  • Add JSDoc to lib/apiClient.ts, lib/utils.ts
  • Add JSDoc to hooks/*.ts
  • Configure eslint-plugin-jsdoc

Activity

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

    Stellar WaveIssues in the Stellar wave program

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions