2022-10-05 12:17:03 +00:00
|
|
|
import puppeteer, {
|
2022-06-27 08:57:31 +00:00
|
|
|
connect,
|
|
|
|
createBrowserFetcher,
|
|
|
|
defaultArgs,
|
|
|
|
executablePath,
|
|
|
|
launch,
|
2022-10-05 12:17:03 +00:00
|
|
|
} from 'puppeteer';
|
|
|
|
import {expectType} from 'tsd';
|
2022-06-27 08:57:31 +00:00
|
|
|
|
|
|
|
expectType<typeof launch>(puppeteer.launch);
|
|
|
|
expectType<typeof connect>(puppeteer.connect);
|
|
|
|
expectType<typeof createBrowserFetcher>(puppeteer.createBrowserFetcher);
|
|
|
|
expectType<typeof defaultArgs>(puppeteer.defaultArgs);
|
|
|
|
expectType<typeof executablePath>(puppeteer.executablePath);
|