mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
f42336cf83
This PR moves the puppeteer source code into separate mono-repo packages: - `puppeteer` and `puppeteer-core` are now separated into their own packages. - `puppeteer-core` has a new exports called `puppeteer-core/internal` for internal usage. Tests and various tools have been updated to accommodate the migration.
15 lines
432 B
TypeScript
15 lines
432 B
TypeScript
import puppeteer, {
|
|
connect,
|
|
createBrowserFetcher,
|
|
defaultArgs,
|
|
executablePath,
|
|
launch,
|
|
} from 'puppeteer';
|
|
import {expectType} from 'tsd';
|
|
|
|
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);
|