Open wilau2 opened 4 years ago
Still an issue for Path
and LinearGradient
.
Still an issue for Path
Still an issue for Path
Found a workaround for this bug. Regarding the type error you can add the ts-ignore above the import. The issue is that Path has not been exported from the package. So go to the index.js file in the art package in node modules and manually export the Path by just adding MODE.Path = require('./core/path'); along with the other exports. I hope this works. It did work for me.
Worth tracking this bug in this repo? https://github.com/DefinitelyTyped/DefinitelyTyped/issues/24830
resulting in typescript error: