Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type signatures causing errors in build process #155

Open
BernhardBehrendt opened this issue Aug 28, 2024 · 2 comments · May be fixed by #162
Open

Type signatures causing errors in build process #155

BernhardBehrendt opened this issue Aug 28, 2024 · 2 comments · May be fixed by #162

Comments

@BernhardBehrendt
Copy link

BernhardBehrendt commented Aug 28, 2024

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",
sc

This line within the file node_modules/@editorjs/table/dist/toolbox.d.ts:29:38 causing the error:

Bildschirmfoto 2024-08-28 um 23 10 53

and modifying it like this solved it.

Bildschirmfoto 2024-08-28 um 23 11 12
@btroncone
Copy link

btroncone commented Aug 30, 2024

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!

@BernhardBehrendt BernhardBehrendt changed the title Type signatures causing errors in build process after update Type signatures causing errors in build process Aug 30, 2024
@Sozialarchiv
Copy link
Contributor

I will have look into the issue.

As a temporary workaround you can set skipLibCheck to true in you tsconfig.json

Sozialarchiv added a commit to Sozialarchiv/table that referenced this issue Oct 1, 2024
@Sozialarchiv Sozialarchiv linked a pull request Oct 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants