added definitions for gracefull-fs

This commit is contained in:
Bart van der Schoor
2014-04-01 00:37:28 +02:00
parent 2d6c5ce48d
commit 851a305add
2 changed files with 19 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
/// <reference path="graceful-fs.d.ts" />
import fs = require('graceful-fs');
var str: string;
var buf: NodeBuffer;
fs.renameSync(str, str);
+11
View File
@@ -0,0 +1,11 @@
// Type definitions for graceful-fs 2.0.0
// Project: https://github.com/cowboy/graceful-fs
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare module 'graceful-fs' {
import fs = require('fs');
export = fs;
}