chore: migrate src/FrameManager to TypeScript (#5773)

This commit is contained in:
Jack Franklin
2020-04-29 12:28:16 +01:00
committed by GitHub
parent c5c97b07b5
commit 8a5008e30b
10 changed files with 149 additions and 347 deletions

View File

@@ -45,7 +45,7 @@ const utils = module.exports = {
* @param {!Page} page
* @param {string} frameId
* @param {string} url
* @return {!Puppeteer.Frame}
* @return {!Frame}
*/
attachFrame: async function(page, frameId, url) {
const handle = await page.evaluateHandle(attachFrame, frameId, url);