2022-06-27 08:57:31 +00:00
|
|
|
import {expectType} from 'tsd';
|
|
|
|
import {
|
|
|
|
connect,
|
|
|
|
createBrowserFetcher,
|
|
|
|
defaultArgs,
|
|
|
|
executablePath,
|
|
|
|
launch,
|
|
|
|
default as puppeteer,
|
2022-09-20 08:28:31 +00:00
|
|
|
} from '..';
|
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);
|