mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
electron-prebuilt was renamed to electron
http://electron.atom.io/blog/2016/08/16/npm-install-electron
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/// <reference path="electron-prebuilt.d.ts" />
|
||||
/// <reference path="electron.d.ts" />
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
import electron = require('electron-prebuilt');
|
||||
import electron = require('electron');
|
||||
import child_process = require('child_process');
|
||||
|
||||
child_process.spawn(electron);
|
||||
@@ -1,9 +1,9 @@
|
||||
// Type definitions for electron-prebuilt 0.30.1
|
||||
// Project: https://github.com/mafintosh/electron-prebuilt
|
||||
// Type definitions for electron 1.3.3
|
||||
// Project: https://github.com/electron-userland/electron-prebuilt
|
||||
// Definitions by: rhysd <https://github.com/rhysd>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module 'electron-prebuilt' {
|
||||
declare module 'electron' {
|
||||
var electron: string;
|
||||
export = electron;
|
||||
}
|
||||
Reference in New Issue
Block a user