Can't compile tsx component with jodit-react imported
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 406
- Forks
- 131
- Avg merge
- 2h 32m
- Merged PRs (30d)
- 2
Description
ERROR in node_modules/jodit/src/core/storage/engines/memory-storage-provider.ts
16:27:19 webpacker.1 | [tsl] ERROR in node_modules/jodit/src/core/storage/engines/memory-storage-provider.ts(22,10)
16:27:19 webpacker.1 | TS2352: Conversion of type 'T' to type 'void | R' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
16:27:19 webpacker.1 | Type 'T' is not comparable to type 'R'.
16:27:19 webpacker.1 | 'R' could be instantiated with an arbitrary type which could be unrelated to 'T'.
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 TSX build failure and inspect node_modules/jodit/src/core/storage/engines/memory-storage-provider.ts around line 22, where the TS2352 conversion is reported. Trace how jodit-react imports this code and verify the component compiles without the TypeScript error; the issue does not name a test file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100