Skip to content

Commit

Permalink
add externs file
Browse files Browse the repository at this point in the history
  • Loading branch information
oakmac committed Jan 11, 2015
1 parent a4b7e46 commit 13fae40
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions externs/misc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
var fs = {};
fs.existsSync = function() {};
fs.mkdirSync = function() {};
fs.readFileSync = function() {};
fs.rmrfSync = function() {};
fs.writeFileSync = function() {};
fs.unlinkSync = function() {};

var ipc = {};
ipc.on = function() {};

var moment = {};
moment.format = function() {};
moment.unix = function() {};

var path = {};
path.dirname = function() {};

// NOTE: this is NOT the correct way to do externs...
Object.prototype.setEncoding = function() {};
Object.prototype.stderr = {};
Object.prototype.stdout = {};

0 comments on commit 13fae40

Please sign in to comment.