Skip to content
New issue

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

fix type error #300

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix type error #300

wants to merge 1 commit into from

Conversation

garysassano
Copy link

Type 'true | "shell"' is not assignable to type 'boolean | undefined'.

@Sparticuz
Copy link
Owner

This is not correct though. According to https://pptr.dev/guides/headless-modes, it should be boolean | "shell"

@garysassano
Copy link
Author

I just pasted the error VS Code was showing me after copying your code, and how I resolved it.

@garysassano
Copy link
Author

@Sparticuz Just noticed you linked to Puppeteer docs, but the fix is about Playwright. 😅

@Sparticuz
Copy link
Owner

Ah, hmm. I'll have to think about the best way to fix that. I've been thinking about how to better divorce the package from puppeteer. (some work of that is in #257)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants