build: add import/order eslint rule (#44107)
build: add import/order eslint rule (#44085) * build: add import/order eslint rule * chore: run lint:js --fix
This commit is contained in:
parent
bf8de29f9b
commit
27c38bdead
209 changed files with 799 additions and 441 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