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
204 B
TypeScript
8 lines
204 B
TypeScript
import { View } from 'electron/main';
|
|
|
|
const { ImageView } = process._linkedBinding('electron_browser_image_view');
|
|
|
|
Object.setPrototypeOf(ImageView.prototype, View.prototype);
|
|
|
|
export default ImageView;
|