[7.0.1] LaunchOptions and Page types are not exported from main
See original GitHub issueSteps to reproduce
Tell us about your environment:
- Puppeteer version: 7.0.1
- Platform / OS version: Fedora 33
- Node.js version: 14.15.4
What steps will reproduce the problem?
Please include code that reproduces the issue.
import puppeteer from 'puppeteer';
(async () => {
const launchOptions: puppeteer.LaunchOptions = { devtools: true };
const browser = await puppeteer.launch(puppeteerConfig);
...
})();
What is the expected result?
Interfaces are available on the namespace. Work the same way it did with @types/puppeteer.
What happens instead?
They are not exposed. I’m sure there are many more. Will write any I notice here.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:14
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Receiving "Attempted import error:" in react app - Stack Overflow
import combineReducers from '../../store/reducers';. since it's a default export, and not a named export. There's a good breakdown of the differences between ...
Read more >Firepower Management Center Configuration Guide, Version ...
You can export a single configuration, or you can export a set of configurations (of the same type or of different types) with...
Read more >Migration Guide | Cypress Documentation
Migrating to Cypress 12.0 This guide details the changes and how to change your code to migrate to Cypress version 12.0.
Read more >Export graphics and videos with Animate CC - Adobe Support
Use this guide to understand how to export graphics and videos in various file formats with Adobe Animate CC.
Read more >Exporting your site - Squarespace Help Center
Because of how WordPress is designed, it's not possible to import all types of Squarespace content. Our .xml file is primarily set up...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

and CDPSession. I don’t think any of the types are actually being exported.
In case anyone else was using
"@types/puppeteerand now using the built-in types, but wondering why your compile is still broken (even with v7.0.4): know that several type names have changed, likeRequestis nowHTTPRequest, andResponseis nowHTTPResponse.