mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	chore: expose electron types (#5362)
This commit is contained in:
		
							parent
							
								
									4bfdaa384b
								
							
						
					
					
						commit
						b32be4b3d4
					
				
							
								
								
									
										1
									
								
								index.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								index.d.ts
									
									
									
									
										vendored
									
									
								
							| @ -20,3 +20,4 @@ export * from './types/types'; | |||||||
| export const webkit: types.BrowserType<types.WebKitBrowser>; | export const webkit: types.BrowserType<types.WebKitBrowser>; | ||||||
| export const chromium: types.BrowserType<types.ChromiumBrowser>; | export const chromium: types.BrowserType<types.ChromiumBrowser>; | ||||||
| export const firefox: types.BrowserType<types.FirefoxBrowser>; | 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 path from 'path'; | ||||||
| import util from 'util'; | import util from 'util'; | ||||||
| import os from 'os'; | 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 { Connection } from '../lib/client/connection'; | ||||||
| import { Transport } from '../lib/protocol/transport'; | import { Transport } from '../lib/protocol/transport'; | ||||||
| import { installCoverageHooks } from './coverage'; | import { installCoverageHooks } from './coverage'; | ||||||
| @ -194,5 +194,4 @@ export const afterAll = folio.afterAll; | |||||||
| 
 | 
 | ||||||
| declare module '../index' { | declare module '../index' { | ||||||
|   const _android: Android; |   const _android: Android; | ||||||
|   const _electron: Electron; |  | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Pavel Feldman
						Pavel Feldman