Skip to content

TS2724: puppeteer has no exported member named ScreenshotOptions #6866

Closed
@jdanil

Description

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'.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions