'ignore' is declared but its value is never read in async.ts
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 406
- Forks
- 131
- Avg merge
- 2h 32m
- Merged PRs (30d)
- 2
Description
[build 2/3] RUN sh -c "yarn run build":
#16 4.175 Creating an optimized production build...
#16 127.3 Failed to compile.
#16 127.3
#16 127.3 /srv/node_modules/jodit/src/core/async.ts
#16 127.3 TypeScript error in /srv/node_modules/jodit/src/core/async.ts(173,3):
#16 127.3 'ignore' is declared but its value is never read. TS6133
#16 127.3
#16 127.3 171 | fn: CallbackFunction,
#16 127.3 172 | timeout: ITimeout | IAsyncParams,
#16 127.3 > 173 | ignore: boolean = false
#16 127.3 | ^
#16 127.3 174 | ): CallbackFunction {
#16 127.3 175 | let timer: number | null = null,
#16 127.3 176 | needInvoke: boolean,
#16 127.3
#16 127.3
Please, fix this issue according to build application with connected Jodit lib
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 node_modules/jodit/src/core/async.ts, especially the parameter at line 173, and reproduce the reported yarn build failure. Determine how the connected Jodit library is consumed by jodit-react and confirm that the build completes without TS6133 for the unused parameter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, 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