feat: expose electron/{process} typed modules (#22937)

* feat: expose electron/{process} typed modules

* chore: update imports for common modules

* chore: update typescript generator

* chore: remap electron/* to the internal packages
This commit is contained in:
Samuel Attard 2020-04-06 17:04:09 -07:00 committed by GitHub
parent 5b53f1a39c
commit 0d2e967960
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
56 changed files with 97 additions and 83 deletions

View file

@ -5,7 +5,7 @@ import * as os from 'os';
import * as qs from 'querystring';
import * as http from 'http';
import { AddressInfo } from 'net';
import { app, BrowserWindow, BrowserView, ipcMain, OnBeforeSendHeadersListenerDetails, protocol, screen, webContents, session, WebContents } from 'electron';
import { app, BrowserWindow, BrowserView, ipcMain, OnBeforeSendHeadersListenerDetails, protocol, screen, webContents, session, WebContents } from 'electron/main';
import { emittedOnce } from './events-helpers';
import { ifit, ifdescribe } from './spec-helpers';