Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[FEATURE]: Add TypeScript definitions for custom bundles

Open
#8,049 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Domain
build-system

Research direction

Start by tracing how custom bundles are generated and how the built-in TypeScript definitions are included in plotly.js v4. Define the expected matching output for a custom bundle, including APIs from unreleased features, and verify that the generated definitions reflect the bundle.

Written by the indexing model from the issue text.

Description

enhancement feature P3 size: 3

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.

Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 17h
Merged PRs (30d)
22

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plotly/plotly.js

All issues in plotly/plotly.js

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.