puppeteer.test-d.ts (444B)
1 /** 2 * @license 3 * Copyright 2024 Google Inc. 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 import puppeteer, { 7 type connect, 8 type defaultArgs, 9 type executablePath, 10 type launch, 11 } from 'puppeteer'; 12 import {expectType} from 'tsd'; 13 14 expectType<typeof launch>(puppeteer.launch); 15 expectType<typeof connect>(puppeteer.connect); 16 expectType<typeof defaultArgs>(puppeteer.defaultArgs); 17 expectType<typeof executablePath>(puppeteer.executablePath);