DefinitelyTyped/mkpath/mkpath.d.ts
2016-03-17 21:06:54 +09:00

16 lines
501 B
TypeScript

// Type definitions for mkpath v0.1.0
// Project: https://www.npmjs.com/package/mkpath
// Definitions by: Jared Klopper <https://github.com/optical>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module 'mkpath' {
namespace mkpath {
function sync(path: string, mode?: number): void;
}
function mkpath(path: string, callback?: (err: any) => void): void;
function mkpath(path: string, mode?: number, callback?: (err?: any) => void): void;
export = mkpath;
}