diff --git a/index.d.ts b/index.d.ts index 4e7b270a0749a..a5ca210dbf9ba 100644 --- a/index.d.ts +++ b/index.d.ts @@ -20,3 +20,4 @@ export * from './types/types'; export const webkit: types.BrowserType; export const chromium: types.BrowserType; export const firefox: types.BrowserType; +export const _electron: types.Electron; diff --git a/test/fixtures.ts b/test/fixtures.ts index d411c81ad952d..37c4bb10652b5 100644 --- a/test/fixtures.ts +++ b/test/fixtures.ts @@ -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; }