chore: expose electron types (#5362)
This commit is contained in:
Родитель
4bfdaa384b
Коммит
b32be4b3d4
|
@ -20,3 +20,4 @@ export * from './types/types';
|
|||
export const webkit: types.BrowserType<types.WebKitBrowser>;
|
||||
export const chromium: types.BrowserType<types.ChromiumBrowser>;
|
||||
export const firefox: types.BrowserType<types.FirefoxBrowser>;
|
||||
export const _electron: types.Electron;
|
||||
|
|
|
@ -20,7 +20,7 @@ import fs from 'fs';
|
|||
import path from 'path';
|
||||
import util from 'util';
|
||||
import os from 'os';
|
||||
import type { Browser, BrowserContext, BrowserType, Electron, Page } from '../index';
|
||||
import type { Browser, BrowserContext, BrowserType, Page } from '../index';
|
||||
import { Connection } from '../lib/client/connection';
|
||||
import { Transport } from '../lib/protocol/transport';
|
||||
import { installCoverageHooks } from './coverage';
|
||||
|
@ -194,5 +194,4 @@ export const afterAll = folio.afterAll;
|
|||
|
||||
declare module '../index' {
|
||||
const _android: Android;
|
||||
const _electron: Electron;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче