Angular-Shepherd 19 CommonJS build fails with TS2309
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- angular, typescript
- 领域
- build-system, frontend
调研方向
在 moduleResolution: node 下使用 Angular-Shepherd 19 重现该失败,并检查报告的导出赋值处的 node_modules/shepherd.js/dist/cjs/shepherd.d.cts。跟踪 CommonJS 声明的生成方式,并验证该包在相关 TypeScript 构建期间不再引发 TS2309。
由索引模型根据 Issue 内容生成。
描述
Attempting to upgrade to Angular-Shepherd 19 in a project using moduleResolution: node generates the following error:
Error: node_modules/shepherd.js/dist/cjs/shepherd.d.cts:581:1 - error TS2309: An export assignment cannot be used in a module with other exported elements.
581 export = Shepherd;
~~~~~~~~~~~~~~~~~~
- 主要语言
- TypeScript
- 星标
- 238
- 派生
- 50
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 9
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
shipshapecode/angular-shepherd 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
shipshapecode/angular-shepherd#2987 ·
-
难度 2/5 1-3 小时 新手友好度 48/100
shipshapecode/angular-shepherd#2986 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
shipshapecode/angular-shepherd#2774 ·
-
angular-shepherd 未关闭enhancement
难度 3/5 1-2 天 新手友好度 32/100
shipshapecode/angular-shepherd#2240 · 3 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
shipshapecode/angular-shepherd#1469 · 4 条评论 · 1 个 reaction ·
查看 shipshapecode/angular-shepherd 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 75/100
-
bug v2
难度 2/5 1-3 小时 新手友好度 75/100
modelcontextprotocol/inspector#2458 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
难度 2/5 1-3 小时 新手友好度 70/100
carbon-design-system/ibm-products#9907 ·