Skip to content

[FEATURE]: Add TypeScript definitions for custom bundles #8049

Description

@Lexachoc

Since plotly.js v4 includes built-in TypeScript definitions, it would be great if custom bundles could also generate matching TypeScript definitions.

This would make custom bundles safer and easier to use in TypeScript projects.

In my case, I sometimes use a custom bundle to test newly developed features before they are released. However, the custom bundle does not include corresponding type definitions, so I have to rely on the types from the latest released version.

This can lead to missing or mismatched types, especially when the custom bundle includes new APIs or features that are not yet available in the released version.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions