puppeteer/test-d/puppeteer.test-d.ts
2023-09-21 22:22:38 +02:00

14 lines
356 B
TypeScript

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