2.1.4 • Published 6 months ago
@types/mv v2.1.4
Installation
npm install --save @types/mv
Summary
This package contains type definitions for mv (https://github.com/andrewrk/node-mv).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mv.
index.d.ts
// Type definitions for mv 2.1
// Project: https://github.com/andrewrk/node-mv
// Definitions by: Miloslav Nenadál <https://github.com/nenadalm>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* `fs.rename` but works across devices. same as the unix utility `mv`
*/
declare function mv(source: string, dest: string, options: mv.Options, callback: (error?: any) => void): void;
declare function mv(source: string, dest: string, callback: (error?: any) => void): void;
declare namespace mv {
interface Options {
/**
* @default false
*/
mkdirp?: boolean | undefined;
/**
* @default false
*/
clobber?: boolean | undefined;
/**
* @default 16
*/
limit?: number | undefined;
}
}
export = mv;
Additional Details
- Last updated: Thu, 08 Jul 2021 18:51:07 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Miloslav Nenadál.