Skip to content

Property 'block' does not exist on type 'TableConstructor' #180

@Munksgaard

Description

@Munksgaard

When compiling a project that uses @editor-js/table with typescript, I get the following error:

assets/node_modules/@editorjs/table/dist/plugin.d.ts:70:48 - error TS2339: Property 'block' does not exist on type 'TableConstructor'.

70     constructor({ data, config, api, readOnly, block }: TableConstructor);
                                                  ~~~~~


Found 1 error in assets/node_modules/@editorjs/table/dist/plugin.d.ts:70

Any idea how I can fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions