Skip to content

Commit

Permalink
chore: expose electron types (#5362)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman authored Feb 8, 2021
1 parent 4bfdaa3 commit b32be4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
3 changes: 1 addition & 2 deletions test/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -194,5 +194,4 @@ export const afterAll = folio.afterAll;

declare module '../index' {
const _android: Android;
const _electron: Electron;
}

0 comments on commit b32be4b

Please sign in to comment.