We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0036e8 commit 13ac2f8Copy full SHA for 13ac2f8
base/base_footer.ts
@@ -2,6 +2,21 @@ declare module 'electron' {
2
export = Electron;
3
}
4
5
+declare module 'electron/browser' {
6
+ const api: Electron.MainInterface
7
+ export = api
8
+}
9
+
10
+declare module 'electron/common' {
11
+ const api: Electron.CommonInterface
12
13
14
15
+declare module 'electron/renderer' {
16
+ const api: Electron.RendererInterface
17
18
19
20
interface NodeRequireFunction {
21
(moduleName: 'electron'): typeof Electron;
22
0 commit comments