14 lines
356 B
TypeScript
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);
|