chore: fix the todo for using MapperOptions type (#12148)

This commit is contained in:
Alex Rudenko 2024-03-27 16:17:39 +01:00 committed by GitHub
parent 6b7e3c6239
commit 81ded4c85f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,9 +25,7 @@ const bidiServerLogger = (prefix: string, ...args: unknown[]): void => {
*/
export async function connectBidiOverCdp(
cdp: CdpConnection,
// TODO: replace with `BidiMapper.MapperOptions`, once it's exported in
// https://github.com/puppeteer/puppeteer/pull/11415.
options: {acceptInsecureCerts: boolean}
options: BidiMapper.MapperOptions
): Promise<BidiConnection> {
const transportBiDi = new NoOpTransport();
const cdpConnectionAdapter = new CdpConnectionAdapter(cdp);