'@ts-expect-error' directive breaking build
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- angular, typescript
- Domain
- frontend
Research direction
Start with the Angular 19 build using angular-shepherd 19.0.2 and inspect shepherd.js/src/step.ts at line 582, where the unused directive is reported. Confirm the failure and determine what change is needed so the application builds without TS2578.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- TypeScript
- Stars
- 238
- Forks
- 50
- Avg merge
- 1m
- Merged PRs (30d)
- 9
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from shipshapecode/angular-shepherd
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
shipshapecode/angular-shepherd#2987 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
shipshapecode/angular-shepherd#2986 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
shipshapecode/angular-shepherd#2610 · 15 comments · 12 reactions ·
-
angular-shepherd Openenhancement
Difficulty 3/5 1-2 days Newbie friendliness 32/100
shipshapecode/angular-shepherd#2240 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
shipshapecode/angular-shepherd#1469 · 4 comments · 1 reaction ·
All issues in shipshapecode/angular-shepherd
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·