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

TS2724: puppeteer has no exported member named ScreenshotOptions #6866

Closed
jdanil opened this issue Feb 11, 2021 · 1 comment · Fixed by #6869, juicyfx/juicy#697 or concourse/concourse#6685 · May be fixed by TheDogenode/torrent-aio-bot#6

Comments

@jdanil
Copy link

jdanil commented Feb 11, 2021

Steps to reproduce

Tell us about your environment:

  • Puppeteer version: 7.0.4
  • Platform / OS version: Windows
  • Node.js version: 14.15.5

What steps will reproduce the problem?

  1. import { ScreenshotOptions } from "puppeteer";

What is the expected result?

tsc compiles successfully.

What happens instead?

error TS2724: '"node_modules/puppeteer/lib/types"' has no exported member named 'ScreenshotOptions'.
@jdanil
Copy link
Author

jdanil commented Feb 11, 2021

Thanks for the quick fix @jackfranklin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment