e9cb85bea6
build: add import/order eslint rule (#44085) * build: add import/order eslint rule * chore: run lint:js --fix
7 lines
201 B
TypeScript
7 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;
|