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