mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
* build: ensure that electron/lib/browser can only use browser or common imports * chore: fix linting
8 lines
229 B
TypeScript
8 lines
229 B
TypeScript
import { View } from 'electron/main';
|
|
|
|
const { WebContentsView } = process._linkedBinding('electron_browser_web_contents_view');
|
|
|
|
Object.setPrototypeOf(WebContentsView.prototype, View.prototype);
|
|
|
|
export default WebContentsView;
|