Typescript CanvasWidget compilation error
See original GitHub issueI 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?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5
Top Results From Across the Web
Typescript project compile errors - node.js - Stack Overflow
When i try to run compile , but on compiling I see the errors that it cannot import express and body parser. But...
Read more >Getting some compilation errors while compiling the TS files in ...
This error maybe need to cast the datatype in MetadataQuery.ts. You could refer to the following case :https://stackoverflow.com/questions/12686927/typescript- ...
Read more >projectstorm/react-diagrams - Gitter
Hello everyone, I am trying to update my project from storm-reactdiagrams: 5.2.1. to @projectstorm/react-diagrams: 6.0.2, Can anyone help me by providing good ...
Read more >homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter
aacgain 1.8 AAC‑supporting version of mp3gain
aalib 1.4rc5 Portable ASCII art graphics library
aamath 0.3 Renders mathematical expressions as ASCII art
Read more >Does WebAssembly compile to JavaScript? - Quora
This isn't really a problem for the WebAssembly developers to be concerned about. If untyped languages are ever efficiently compiled to native machine...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There seems to be relative imports, which have a wrong level (2 times up, instead of 4 times up). Can hotfix this, but I prefer another more stable solution 😒
In case anyone wonders, editing tsconfig to contain
"strictNullChecks": false
worked partially. Now I get: