Skip to content

Add JSDoc to Toastify properties #148

@EvgenyWas

Description

@EvgenyWas

Description:

Currently, the Toastify options and properties don’t have JSDoc comments. This makes it harder for developers (especially those not using TypeScript) to quickly understand the available configuration, expected types, properties' meaning, and default values.

Proposed solution:

  • Add JSDoc comments to the Toastify options/properties in the source code.
  • Include descriptions, expected types, and default values where relevant.

Benefits:

  • Improves developer productivity by providing inline hints.
  • Makes the library easier to use without constantly referring back to the documentation.
  • Helps maintain consistency between code and docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions