shipshapecode / shipshapecode/angular-shepherd
'@ts-expect-error' directive breaking build
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 238
- Forks
- 50
- Avg merge
- 1m
- Merged PRs (30d)
- 9
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?
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.
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.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100