We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
puppeteer is imported into the source code, but it's not into the published dependencies.
puppeteer
I use ghost-cursor, but I don't have puppeteer (I use playwright).
ghost-cursor
playwright
I think ghost-cursor should export two files:
path()
createCursor()
package.json
{ "name": "testcase", "version": "1.0.0", "type": "module", "dependencies": { "ghost-cursor": "1.3.0", "typescript": "5.7.3" } }
index.ts
import { path } from "ghost-cursor";
npm install
npx tsc index.ts
node_modules/ghost-cursor/lib/mouse-helper.d.ts:1:27 - error TS2307: Cannot find module 'puppeteer' or its corresponding type declarations. 1 import type { Page } from 'puppeteer'; ~~~~~~~~~~~ node_modules/ghost-cursor/lib/spoof.d.ts:1:50 - error TS2307: Cannot find module 'puppeteer' or its corresponding type declarations. 1 import { ElementHandle, Page, BoundingBox } from 'puppeteer'; ~~~~~~~~~~~ Found 2 errors in 2 files. Errors Files 1 node_modules/ghost-cursor/lib/mouse-helper.d.ts:1 1 node_modules/ghost-cursor/lib/spoof.d.ts:1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
puppeteer
is imported into the source code, but it's not into the published dependencies.I use
ghost-cursor
, but I don't havepuppeteer
(I useplaywright
).I think
ghost-cursor
should export two files:puppeteer
:path()
puppeteer
:path()
,createCursor()
...To reproduce
package.json
index.ts
npm install
npx tsc index.ts
The text was updated successfully, but these errors were encountered: