We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f4a857 commit 5ad54b3Copy full SHA for 5ad54b3
github-electron/github-electron-main-tests.ts
@@ -16,12 +16,11 @@ import {
16
crashReporter,
17
nativeImage,
18
screen,
19
- shell
+ shell,
20
+ hideInternalModules
21
} from 'electron';
22
-require('electron').hideInternalModules();
23
-
24
-import path = require('path');
+import * as path from 'path';
25
26
// Quick start
27
// https://github.com/atom/electron/blob/master/docs/tutorial/quick-start.md
github-electron/github-electron-renderer-tests.ts
@@ -10,7 +10,7 @@ import {
10
shell
11
12
13
-import fs = require('fs');
+import * as fs from 'fs';
14
15
// In renderer process (web page).
// https://github.com/atom/electron/blob/master/docs/api/ipc-renderer.md
0 commit comments