build: add import/order eslint rule (#44106)
build: add import/order eslint rule (#44085) * build: add import/order eslint rule * chore: run lint:js --fix
This commit is contained in:
parent
479caedc8a
commit
e9cb85bea6
209 changed files with 831 additions and 444 deletions
|
@ -1,5 +1,6 @@
|
|||
import { BaseWindow, WebContents, BrowserView } from 'electron/main';
|
||||
import type { BrowserWindow as BWT } from 'electron/main';
|
||||
|
||||
const { BrowserWindow } = process._linkedBinding('electron_browser_window') as { BrowserWindow: typeof BWT };
|
||||
|
||||
Object.setPrototypeOf(BrowserWindow.prototype, BaseWindow.prototype);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue