Skip to content

Typescript CanvasWidget compilation error #559

@codie3611

Description

@codie3611

I added the project with yarn and then get the following error message from ts:

Failed to compile.

node_modules/@projectstorm/react-canvas-core/dist/@types/src/CanvasEngine.d.ts
(12,5): Property 'canvasReady' of type '(() => void) | undefined' is not assignable to string index type '(event: BaseEvent) => any'.

I'm using typescript 3.7.5. Anyone a clue how to get around this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions