2023-09-21 20:22:38 +00:00
|
|
|
import {expectType} from 'tsd';
|
|
|
|
|
2022-10-05 12:17:03 +00:00
|
|
|
import puppeteer, {
|
2023-09-15 11:00:20 +00:00
|
|
|
type connect,
|
|
|
|
type defaultArgs,
|
|
|
|
type executablePath,
|
|
|
|
type launch,
|
2022-10-05 12:17:03 +00:00
|
|
|
} from 'puppeteer';
|
2022-06-27 08:57:31 +00:00
|
|
|
|
|
|
|
expectType<typeof launch>(puppeteer.launch);
|
|
|
|
expectType<typeof connect>(puppeteer.connect);
|
|
|
|
expectType<typeof defaultArgs>(puppeteer.defaultArgs);
|
|
|
|
expectType<typeof executablePath>(puppeteer.executablePath);
|