fix: import

This commit is contained in:
2023-10-08 12:21:34 -05:00
parent bf075f9628
commit 09e143a8b5

View File

@@ -1,6 +1,6 @@
import { CDPSession } from 'puppeteer-core/src/puppeteer-core.js'
import { CDPSession } from 'puppeteer'
/** @typedef {import("puppeteer-core").ProtocolMapping.Commands} Commands */
/** @typedef {import("puppeteer").ProtocolMapping.Commands} Commands */
/** @type {<T extends keyof Commands>(_: Commands[T]['paramsType'][0]) => (_: T) => (_: CDPSession) => () => Promise<Commands[T]['returnType']>} */
export const send = p => cmd => cdp => () => {