mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
compliant fixes for errors by --target es6
This commit is contained in:
1 parent
7f4a8573fa
commit
5ad54b3e0b
2 files changed
+4
-5
No files matched your search
@@ -16,12 +16,11 @@ import {
|
||||
crashReporter,
|
||||
nativeImage,
|
||||
screen,
|
||||
shell
|
||||
shell,
|
||||
hideInternalModules
|
||||
} from 'electron';
|
||||
|
||||
require('electron').hideInternalModules();
|
||||
|
||||
import path = require('path');
|
||||
import * as path from 'path';
|
||||
|
||||
// Quick start
|
||||
// https://github.com/atom/electron/blob/master/docs/tutorial/quick-start.md
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
shell
|
||||
} from 'electron';
|
||||
|
||||
import fs = require('fs');
|
||||
import * as fs from 'fs';
|
||||
|
||||
// In renderer process (web page).
|
||||
// https://github.com/atom/electron/blob/master/docs/api/ipc-renderer.md
|
||||
|
||||
Reference in new issue
Block a user