Installation
npm install --save @types/mkpath
Summary
This package contains type definitions for mkpath (https://www.npmjs.com/package/mkpath).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mkpath.
index.d.ts
declare namespace mkpath {
function sync(path: string, mode?: number): void;
}
declare function mkpath(path: string, callback?: (err: any) => void): void;
declare function mkpath(path: string, mode?: number, callback?: (err?: any) => void): void;
export = mkpath;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Jared Klopper.