Closed jacekkarczmarczyk closed 3 years ago
I'm seeing this too. Any workarounds you've found?
Right now, I simply disabled typechecking of external libraries. It's far from ideal, but at least I can still compile and run my code
This was likely caused by https://github.com/microsoft/TypeScript/pull/44684 which seems to have removed the OffscreenCanvasRenderingContext2D
and OffscreenCanvas
types because they're only available in Chrome.
Was resolved in #9617
Expected Behavior
no compilation errors
Current Behavior
Possible Solution
add
@types/offscreencanvas
maybe?Steps to Reproduce
create a project with chart.js and typescript 4.4
Environment