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:
parent
5b53f1a39c
commit
0d2e967960
56 changed files with 97 additions and 83 deletions
|
@ -4,7 +4,7 @@ import * as https from 'https';
|
|||
import * as path from 'path';
|
||||
import * as fs from 'fs';
|
||||
import * as ChildProcess from 'child_process';
|
||||
import { session, BrowserWindow, net, ipcMain, Session } from 'electron';
|
||||
import { session, BrowserWindow, net, ipcMain, Session } from 'electron/main';
|
||||
import * as send from 'send';
|
||||
import * as auth from 'basic-auth';
|
||||
import { closeAllWindows } from './window-helpers';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue