smartgit/ts/index.ts

16 lines
328 B
TypeScript
Raw Normal View History

2015-11-09 21:58:43 +00:00
/// <reference path="typings/tsd.d.ts" />
var path = require("path");
var pr = require("pushrocks");
var fs
var smartfile:any = {
readFileToString: function(filePath) {
var fileString;
fileString = plugins.fs.readFileSync(filePath, "utf8");
return fileString;
}
};
module.exports = smartfile;