Skip to content

Add JSDoc to component type hierarchy #17

@UniquePixels

Description

@UniquePixels

Context

Audit ID: ARCH-4

The distinction between `AnyComponentInteraction`, `ComponentInteraction`, and `SelectMenuInteraction` requires reading the source to understand. Users may pick the wrong type.

Approach

Add JSDoc to each type alias explaining when to use it and how they relate to each other.

Files

  • `src/core/sparks/component.ts`

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions