mirror of
https://github.com/electron/electron.git
synced 2026-02-09 22:56:24 -05:00
* chore: tsify more of lib * Update lib/browser/api/session.ts Co-authored-by: Jeremy Apthorp <jeremya@chromium.org> Co-authored-by: Jeremy Apthorp <jeremya@chromium.org>
8 lines
208 B
TypeScript
8 lines
208 B
TypeScript
import { View } from 'electron';
|
|
|
|
const { WebContentsView } = process.electronBinding('web_contents_view');
|
|
|
|
Object.setPrototypeOf(WebContentsView.prototype, View.prototype);
|
|
|
|
export default WebContentsView;
|