Remove `@types/plotly.js` dependency
未关闭
适合新手
还没有人认领这个 Issue。
P3
size: 1
task
- 主要语言
- Python
- 星标
- 18.8k
- 派生
- 2.8k
- 平均合并
- 16 小时 26 分钟
- 30 天内合并 PR
- 21
描述
@types/plotly.js (the DefinitelyTyped types for plotly.js) is listed as a dev dependency in js/package.json.
As of plotly.js 4.0.0, types are included in plotly.js itself (see https://github.com/plotly/plotly.js/pull/7680), so we can probably remove the @types/plotly.js dependency. I haven't looked into how the types are actually used in the code.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
先从 js/package.json 中的开发依赖开始,然后在 JavaScript 代码中搜索对 @types/plotly.js 的导入或引用。检查 plotly.js 4.0.0 自带的类型是否涵盖这些用法。移除冗余依赖且不破坏 JavaScript 检查或类型使用,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- build-system
- Issue 类型
- 重构
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 72/100