Skip to content

Commit

Permalink
Merge pull request #5120 from rhysd/add-electron-prebuilt
Browse files Browse the repository at this point in the history
Add definitions for electron-prebuilt package
  • Loading branch information
vvakame committed Aug 2, 2015
2 parents 719a1c2 + b287954 commit 4312895
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions github-electron/electron-prebuilt-tests.ts
@@ -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 changes: 10 additions & 0 deletions github-electron/electron-prebuilt.d.ts
@@ -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;
}

0 comments on commit 4312895

Please sign in to comment.