Skip to content

Typescript definition for the package #398

@souvikinator

Description

@souvikinator

Thank you for this amazing utility/package. It has saved me a lot of time.

While using it, I realized that it lacks type definitions (#349 ). Having this in TypeScript or having a .d.ts would provide a better developer experience. With that said, I have created a .d.ts file based on the chatgpt.js file at the root of the repository. It is comprehensive; however, feel free to suggest improvements.

link to d.ts file

I can create a PR and make adjustments to include the agreed-upon d.ts file in every build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions