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

13 lines
335 B
TypeScript

import puppeteer, {
connect,
defaultArgs,
executablePath,
launch,
} from 'puppeteer';
import {expectType} from 'tsd';
expectType<typeof launch>(puppeteer.launch);
expectType<typeof connect>(puppeteer.connect);
expectType<typeof defaultArgs>(puppeteer.defaultArgs);
expectType<typeof executablePath>(puppeteer.executablePath);