puppeteer/test-d/puppeteer.test-d.ts

16 lines
438 B
TypeScript
Raw Normal View History

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