Closed ghost closed 3 years ago
The types in Puppeteer are really messed up since they started shipping themselves. See for example: https://github.com/puppeteer/puppeteer/issues/6979
I'll see if we can switch the types to puppeteer@10 though.
I think puppeteer needs to be marked as a peerDependency in this case. Not sure why I didn't do that in the first release.
If you use a peerDependency you can't use the types in that package, because it doesn't install it AFAIK. So you really need the whole puppeteer package as a devDependency 😞
This should be fixed in https://github.com/Xetera/ghost-cursor/commit/4dd885815bcc229599f6608fef27e50352062b96
Can you please check @ItzRabbs by installing the master version?
Works great. Thank you for the quick turnaround.
Published as v1.1.6: https://www.npmjs.com/package/ghost-cursor/v/1.1.6
Puppeteer started to ship .d.ts files in npm package since February. The DefinitelyTyped package is no longer accurate, I believe. I'm getting the below errors during compilations with "ghost-cursor": "^1.1.5" and "puppeteer": "^10.1.0" installed.