plotly / plotly/angular-plotly.js
error TS2707 with Angular 14
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 242
- 派生
- 81
- 平均合并
- 8 小时 48 分钟
- 30 天内合并 PR
- 18
描述
Hi, I tried setting up plotly as described in the readme and got the following error:
Generic type 'ɵɵComponentDeclaration' requires between 7 and 8 type arguments.
I then setup a new angular Project and tried the same, withe the same error. Seems like an issue with the angular version right?
I paste my specs below:
Angular CLI: 14.2.11
Node: 16.19.0
Package Manager: npm 9.3.1
OS: darwin arm64
Angular: 14.3.0
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1402.11
@angular-devkit/build-angular 14.2.11
@angular-devkit/core 14.2.11
@angular-devkit/schematics 14.2.11
@angular/cli 14.2.11
@schematics/angular 14.2.11
rxjs 7.5.7
typescript 4.7.4
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,使用报告中的 Angular 14.3.0、TypeScript 4.7.4、Node 16.19.0 和 npm 9.3.1 版本复现 README 中的设置。将结果与受支持的设置进行比较,并确定 TS2707 错误是否可以解决,或者是否需要记录兼容性限制。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100