codex-team / codex-team/editor.js
Add a generic type to ToolSettings
Open
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
By adding a generic type to ToolSettings, `EdtorConfig["tools"]` can be more TypeScript-firendly.
See an example: [examples/ExampleEditorConfigTools.ts](https://github.com/hata6502/editorjs-examples/blob/main/examples/ExampleEditorConfigTools.ts): A type definition improved EditorConfig\["tools"\].
`ExampleEditorConfigTools` is one of `EdtorConfig["tools"]` that mapped between tool name and tool config.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.