Type error: Argument of type 'string' is not assignable to parameter of type 'never'.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 406
- Forks
- 131
- Avg merge
- 2h 32m
- Merged PRs (30d)
- 2
Description
Error in 'yarn build' using next with ts
./node_modules/jodit\src\core\helpers\utils\utils.ts:187:14
Type error: Argument of type 'string' is not assignable to parameter of type 'never'.
185 |
186 | for (const key in obj) {
187 | props.push(key);
| ^
188 | }
189 |
190 | return props;
info - Creating an optimized production build .s
??????
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 yarn build and inspect node_modules/jodit/src/core/helpers/utils/utils.ts around line 187, where props.push(key) triggers the TypeScript error. Done means the production build completes without this type error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- next.js, react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100