Add typings for the mkpath library

This commit is contained in:
Jared committed 2015-02-16 17:21:36 +13:00
1 parent bcf610fef5
commit 7e87f449a8
2 files changed
+24

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
/// <reference path="mkpath.d.ts" />
import mkpath = require('mkpath');
mkpath('red/green/violet', function (err) {
if (err) throw err;
console.log('Directory structure red/green/violet created');
});
mkpath.sync('/tmp/blue/orange', 700);