mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
57313e3f73
`protocol.d.ts` had to move to `protocol.ts` otherwise typescript refuses to include it in the out directory. Removed the old d.ts generator. It will need to be rewritten anyway. These new types include private stuff that they probably shouldn't, and are missing documentation. I'll follow up with a better d.ts generator later. #6
9 lines
408 B
TypeScript
9 lines
408 B
TypeScript
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
import * as chromium from './chromium';
|
|
import * as firefox from './firefox';
|
|
import * as webkit from './webkit';
|
|
declare function pickBrowser(browser: 'chromium'): typeof chromium;
|
|
declare function pickBrowser(browser: 'firefox'): typeof firefox;
|
|
declare function pickBrowser(browser: 'webkit'): typeof webkit;
|
|
export = pickBrowser; |