b02748e607
* build: ensure that electron/lib/browser can only use browser or common imports * chore: fix linting
7 lines
229 B
TypeScript
7 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;
|