fix: missed one

This commit is contained in:
orion 2023-10-06 12:16:43 -05:00
parent f23f7eed5c
commit 9d0470ceb1
Signed by: orion
GPG Key ID: 6D4165AE4C928719
2 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,7 @@
import { Page } from 'puppeteer' import { Page } from 'puppeteer'
/** @type {(_1: import("puppeteer").PDFOptions) => (_0: Page) => Promise<Buffer>} */ /** @type {(_1: import("puppeteer").PDFOptions) => (_0: Page) => () => Promise<Buffer>} */
export const _pdf = o => p => p.pdf(o) export const _pdf = o => p => () => p.pdf(o)
/** @type {(_1: import("puppeteer").ScreenshotOptions) => (_0: Page) => Promise<Buffer>} */ /** @type {(_1: import("puppeteer").ScreenshotOptions) => (_0: Page) => () => Promise<Buffer>} */
export const _screenshot = o => p => p.screenshot(o) export const _screenshot = o => p => () => p.screenshot(o)

View File

@ -3,21 +3,21 @@ import { HTTPRequest } from 'puppeteer'
/** /**
* `foreign import _abort :: String -> Request -> Promise Unit` * `foreign import _abort :: String -> Request -> Promise Unit`
* @type {(_0: import("puppeteer").ErrorCode) => (_1: HTTPRequest) => Promise<void>} * @type {(_0: import("puppeteer").ErrorCode) => (_1: HTTPRequest) => () => Promise<void>}
*/ */
export const _abort = e => r => r.abort(e) export const _abort = e => r => () => r.abort(e)
/** /**
* `foreign import _continue :: Foreign -> Request -> Promise Unit` * `foreign import _continue :: Foreign -> Request -> Promise Unit`
* @type {(_0: import("puppeteer").ContinueRequestOverrides) => (_1: HTTPRequest) => Promise<void>} * @type {(_0: import("puppeteer").ContinueRequestOverrides) => (_1: HTTPRequest) => () => Promise<void>}
*/ */
export const _continue = o => r => r.continue(o) export const _continue = o => r => () => r.continue(o)
/** /**
* `foreign import _respond :: RespondToRequest -> Request -> Promise Unit` * `foreign import _respond :: RespondToRequest -> Request -> Promise Unit`
* @type {(_0: import("puppeteer").ResponseForRequest) => (_1: HTTPRequest) => Promise<void>} * @type {(_0: import("puppeteer").ResponseForRequest) => (_1: HTTPRequest) => () => Promise<void>}
*/ */
export const _respond = rep => req => req.respond(rep) export const _respond = rep => req => () => req.respond(rep)
/** /**
* `foreign import _failure :: Request -> Effect (Nullable {errorText :: String})` * `foreign import _failure :: Request -> Effect (Nullable {errorText :: String})`