mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Merge pull request #5120 from rhysd/add-electron-prebuilt
Add definitions for electron-prebuilt package
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
/// <reference path="electron-prebuilt.d.ts" />
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
import electron = require('electron-prebuilt');
|
||||
import child_process = require('child_process');
|
||||
|
||||
child_process.spawn(electron);
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// Type definitions for electron-prebuilt 0.30.1
|
||||
// Project: https://github.com/mafintosh/electron-prebuilt
|
||||
// Definitions by: rhysd <https://github.com/rhysd>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module 'electron-prebuilt' {
|
||||
var electron: string;
|
||||
export = electron;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user