mirror of
https://github.com/electron/electron.git
synced 2026-02-07 13:45:08 -05:00
* refactor: prevent consistent early exception * Use _linkedBinding where possible * Remove dead electronBinding
8 lines
199 B
TypeScript
8 lines
199 B
TypeScript
import { View } from 'electron';
|
|
|
|
const { ImageView } = process._linkedBinding('electron_browser_image_view');
|
|
|
|
Object.setPrototypeOf(ImageView.prototype, View.prototype);
|
|
|
|
export default ImageView;
|