fix: import
This commit is contained in:
parent
bf075f9628
commit
09e143a8b5
@ -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']>} */
|
/** @type {<T extends keyof Commands>(_: Commands[T]['paramsType'][0]) => (_: T) => (_: CDPSession) => () => Promise<Commands[T]['returnType']>} */
|
||||||
export const send = p => cmd => cdp => () => {
|
export const send = p => cmd => cdp => () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user