summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/test-d/puppeteer.test-d.ts
blob: 0b137d1cdd0831d5d620f6b659f31b9d3bb78604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import {expectType} from 'tsd';
import {
  connect,
  createBrowserFetcher,
  defaultArgs,
  executablePath,
  launch,
  default as puppeteer,
} from '../lib/esm/puppeteer/puppeteer.js';

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);