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
Tell us about your environment:
What steps will reproduce the problem?
import { Viewport } from 'puppeteer' // Module '"../../node_modules/puppeteer/lib/types"' has no exported member 'Viewport'.ts(2305)
What is the expected result? import this type without any error
What happens instead?
I neeedd this type.
https://github.com/puppeteer/puppeteer/blob/main/src/common/PuppeteerViewport.ts
but it seems not to be exported in node_modules/puppeteer/lib/types.d.ts:24210
node_modules/puppeteer/lib/types.d.ts:24210
declare interface Viewport { width: number; height: number; deviceScaleFactor?: number; isMobile?: boolean; isLandscape?: boolean; hasTouch?: boolean; }
see also #6873 #6816 #6820 #6829
The text was updated successfully, but these errors were encountered:
Viewport
Thanks. #6881 will resolve this so marking this as closed.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Steps to reproduce
Tell us about your environment:
What steps will reproduce the problem?
What is the expected result?
import this type without any error
What happens instead?
I neeedd this type.
but it seems not to be exported in
node_modules/puppeteer/lib/types.d.ts:24210
see also
#6873
#6816
#6820
#6829
The text was updated successfully, but these errors were encountered: