mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
3e4c8c9d0d
This PR changes `src/Dialog.js` to `src/Dialog.ts` and rewrites accordingly. Most of the changes are straight forward; the only interesting one from a TS point of view is the `DialogType` enum. I expose it again as `Dialog.Type` to avoid a breaking change. This PR also exposed some bugs with our ESLint TypeScript settings and applying the overrides, so I fixed those too. I also updated our DocLint tool to work on TS source files over JS lib files if they exist. This is the minimal change to keep the existing doc system working as we're working on moving away from this system longer term. |
||
---|---|---|
.. | ||
browser | ||
doclint | ||
protocol-types-generator | ||
testserver | ||
apply_next_version.js | ||
bisect.js | ||
check_availability.js | ||
ESTreeWalker.js | ||
fetch_devices.js | ||
prepare_puppeteer_core.js |