puppeteer/utils
Jack Franklin 866d34ee11
fix: type page event listeners correctly (#6891)
This PR fixes the fact that currently if you have:

```ts
page.on('request', request => {

})
```

Then `request` will be typed as `any`. We can fix this by defining an
interface of event name => callback argument type, and looking that up
when you call `page.on`.

Also includes a drive-by fix to ensure we convert response headers to
strings, and updates the types accordingly.
2021-03-25 11:26:35 +00:00
..
doclint fix: type page event listeners correctly (#6891) 2021-03-25 11:26:35 +00:00
testserver chore: migrate tests to TypeScript (#6075) 2020-06-23 07:18:46 +02:00
apply_next_version.js fix(utils): typo fix (#6522) 2020-10-19 12:45:00 +02:00
bisect.js chore: add Prettier (#5825) 2020-05-07 12:54:55 +02:00
check_availability.js chore: update documentation on rolling chromium (#6399) 2020-09-08 11:05:51 +02:00
ESTreeWalker.js chore: add Prettier (#5825) 2020-05-07 12:54:55 +02:00
fetch_devices.js docs: replace @return with @returns (#6006) 2020-06-12 12:38:24 +02:00
prepare_puppeteer_core.js chore: Don't store revisions in package.json (#6109) 2020-06-29 16:13:24 +01:00
remove_version_suffix.js chore: automate version bumps (#6627) 2020-11-26 11:38:24 +01:00