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:
Samuel Attard 2024-10-02 20:52:01 -07:00 committed by GitHub
parent 479caedc8a
commit e9cb85bea6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
209 changed files with 831 additions and 444 deletions

View file

@ -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);