shipshapecode / shipshapecode/angular-shepherd
Angular-Shepherd 19 CommonJS build fails with TS2309
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 238
- Forks
- 50
- Avg merge
- 1m
- Merged PRs (30d)
- 9
Description
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;
~~~~~~~~~~~~~~~~~~
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
Reproduce the failure with Angular-Shepherd 19 under moduleResolution: node and inspect node_modules/shepherd.js/dist/cjs/shepherd.d.cts at the reported export assignment. Trace how the CommonJS declaration is produced and verify that the package no longer raises TS2309 during the relevant TypeScript build.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100