table
table copied to clipboard
Type signatures causing errors in build process
Since I've made dependency updates im facing errors caused by type definition file.
Installed version(s):
"@editorjs/checklist": "^1.6.0",
"@editorjs/code": "^2.9.0",
"@editorjs/editorjs": "^2.30.5",
"@editorjs/header": "^2.8.7",
"@editorjs/list": "^1.10.0",
"@editorjs/marker": "^1.4.0",
"@editorjs/quote": "^2.7.2",
"@editorjs/table": "^2.4.1",
"editorjs-tooltip": "^1.2.2",
This line within the file node_modules/@editorjs/table/dist/toolbox.d.ts:29:38 causing the error:
and modifying it like this solved it.
I'm having the same issue, build fails with:
node_modules/@editorjs/table/dist/toolbox.d.ts:29:48 - error TS2339: Property 'cssModifier' does not exist on type '{}'.
29 constructor({ api, items, onOpen, onClose, cssModifier }: object);
Please advise, thanks!
I will have look into the issue.
As a temporary workaround you can set skipLibCheck to true in you tsconfig.json