build: ensure that electron/lib/browser can only use browser or common imports (#24512)

* build: ensure that electron/lib/browser can only use browser or common imports

* chore: fix linting
This commit is contained in:
Samuel Attard
2020-07-13 09:58:49 -07:00
committed by GitHub
parent 1719f073c1
commit b02748e607
28 changed files with 92 additions and 65 deletions

View File

@@ -1,4 +1,4 @@
import { View } from 'electron';
import { View } from 'electron/main';
const { ImageView } = process._linkedBinding('electron_browser_image_view');