electron-util icon indicating copy to clipboard operation
electron-util copied to clipboard

Build error with Electron 10.1.2 and Angular 8.3.20

Open evansben87 opened this issue 4 years ago • 1 comments

Implement Electron app with Angular, Typescript, built project and got error import "AllElectron" ERROR in node_modules/electron-util/index.d.ts:4:9 - error TS2305: Module '"electron"' has no exported member 'AllElectron'.

4 import {AllElectron, Remote, BrowserWindow, Size, Rectangle, Session, MenuItemConstructorOptions, MenuItem} from 'electron';

Please help me to fix this issue. Thanks.

evansben87 avatar Sep 27 '20 10:09 evansben87

@evansben87 please see our PR here: https://github.com/sindresorhus/electron-util/pull/34, it helps us to make this package to work with Electron 10

evereq avatar Oct 21 '20 12:10 evereq