compliant fixes for errors by --target es6

This commit is contained in:
rhysd
2016-03-06 18:37:24 +09:00
parent 7f4a8573fa
commit 5ad54b3e0b
2 changed files with 4 additions and 5 deletions
@@ -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