Typescript error
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 406
- Forks
- 131
- Avg merge
- 2h 32m
- Merged PRs (30d)
- 2
Description
Hi, my code is:
<JoditEditor
config={{readonly: false}}
/>
i i get this error: Type '{ readonly: false; }' is missing the following properties from type 'Config': iframe, commandToHotkeys, license, preset, and 56 more.ts(2740)

how can i fix?
thank you.
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 by inspecting the JoditEditor component's TypeScript definition for the config prop and the Config type referenced by the error. Reproduce the shown JSX and compare the expected configuration shape with the accepted usage; done means the reported type error is resolved or the required configuration is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100