puppeteer/test-d/puppeteer.test-d.ts

19 lines
445 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright 2024 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
import {expectType} from 'tsd';
import puppeteer, {
type connect,
type defaultArgs,
type executablePath,
type launch,
} 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);