shipshapecode / shipshapecode/angular-shepherd
'@ts-expect-error' directive breaking build
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 238
- 派生
- 50
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 9
描述
Hi, I have just recently made a migration from Angular 17 to 19, and with that, I also updated Angular Shepherd ("angular-shepherd": "^19.0.2",) and all necessary dependencies.
But the problem is that when I run to build the application or even run it locally, I get the following:
X [ERROR] TS2578: Unused '@ts-expect-error' directive. [plugin angular-compiler]
node_modules/shepherd.js/src/step.ts:582:8:
582 │ // @ts-expect-error TODO: fix this type error
In my tsconfig.json I already have "exclude": ["node_modules", "tmp"], but it still causes issue in my application.
Can anyone help me out with this?
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从使用 angular-shepherd 19.0.2 的 Angular 19 构建开始,检查 shepherd.js/src/step.ts 第 582 行,此处报告了未使用的指令。确认该失败,并确定需要进行什么更改才能使应用程序在没有 TS2578 的情况下构建。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100