mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: fix the todo for using MapperOptions type (#12148)
This commit is contained in:
parent
6b7e3c6239
commit
81ded4c85f
@ -25,9 +25,7 @@ const bidiServerLogger = (prefix: string, ...args: unknown[]): void => {
|
|||||||
*/
|
*/
|
||||||
export async function connectBidiOverCdp(
|
export async function connectBidiOverCdp(
|
||||||
cdp: CdpConnection,
|
cdp: CdpConnection,
|
||||||
// TODO: replace with `BidiMapper.MapperOptions`, once it's exported in
|
options: BidiMapper.MapperOptions
|
||||||
// https://github.com/puppeteer/puppeteer/pull/11415.
|
|
||||||
options: {acceptInsecureCerts: boolean}
|
|
||||||
): Promise<BidiConnection> {
|
): Promise<BidiConnection> {
|
||||||
const transportBiDi = new NoOpTransport();
|
const transportBiDi = new NoOpTransport();
|
||||||
const cdpConnectionAdapter = new CdpConnectionAdapter(cdp);
|
const cdpConnectionAdapter = new CdpConnectionAdapter(cdp);
|
||||||
|
Loading…
Reference in New Issue
Block a user