shipshapecode / shipshapecode/angular-shepherd
'@ts-expect-error' directive breaking build
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 238
- フォーク
- 50
- 平均マージ
- 1分
- マージ済み PR(30日)
- 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 にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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