mirror of
https://github.com/electron/electron.git
synced 2026-01-15 02:18:18 -05:00
build: add import/order eslint rule (#44085) * build: add import/order eslint rule * chore: run lint:js --fix
8 lines
201 B
TypeScript
8 lines
201 B
TypeScript
import { EventEmitter } from 'events';
|
|
|
|
const { View } = process._linkedBinding('electron_browser_view');
|
|
|
|
Object.setPrototypeOf((View as any).prototype, EventEmitter.prototype);
|
|
|
|
export default View;
|