question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide .d.ts from `puppeteer` NPM package

See original GitHub issue

It seems that you’re migrating to TypeScript and almost all sources have been migrated. Do you have any plan to provide .d.ts files from Puppeteer NPM package (not @types/puppeteer )?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
jackfranklincommented, May 13, 2020

Yup, we will eventually. Right now @types/puppeteer has a more comprehensive set of types for things like $eval and evaluateHandle that we’ll like to pull into Puppeteer. I’ve chatted with @marvinhagemeister (who helped write the DefinitelyTyped definitions) about this and it’s on my list.

3reactions
mathiasbynenscommented, May 13, 2020

This was indeed one of the goals of the TypeScript migration. We’re not quite there yet though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

@types/puppeteer - npm
Stub TypeScript definitions entry for puppeteer, which provides its own types definitions. ... This package has been deprecated.
Read more >
Using Puppeteer in TypeScript - The First Cry of Atom
Puppeteer is a node API for headless Chrome. It is easy to use and provides intuitive API. For example, here is a example...
Read more >
131 - Stack Overflow
Remove node_modules folder and .lock file and re-install your packages (yarn or npm). It worked for me with last 17.0.1 of nodejs, I...
Read more >
puppeteer-browser-ready - npm package - Snyk
The TypeScript Declaration File file is puppeteer-browser-ready.d.ts in the dist folder. The browserReady.goto(url, options) function returns a function that ...
Read more >
remote/test/puppeteer - mozsearch - Searchfox
Name Description Size .editorconfig 147 .eslintignore 513 .eslintplugin.js '); lines.push(' 2266
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found