mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
10a114d36f
* fix: change injected.ts imports Not sure why api-extractor generates broken .d.ts files if the start import is used for Poller and TextContext. * test: use generated types.d.ts in tsd
16 lines
438 B
TypeScript
16 lines
438 B
TypeScript
import {expectType} from 'tsd';
|
|
import {
|
|
connect,
|
|
createBrowserFetcher,
|
|
defaultArgs,
|
|
executablePath,
|
|
launch,
|
|
default as puppeteer,
|
|
} from '..';
|
|
|
|
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);
|