mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
24 lines
538 B
TypeScript
24 lines
538 B
TypeScript
// 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
|
|
|
|
interface Options {
|
|
mkdirp?: boolean;
|
|
clobber?: boolean;
|
|
}
|
|
|
|
interface Mv {
|
|
(
|
|
src: string,
|
|
dest: string,
|
|
options: Options,
|
|
callback: (error: any) => void
|
|
): void;
|
|
(src: string, dest: string, callback: (error: any) => void): void;
|
|
}
|
|
|
|
declare const inst: Mv;
|
|
|
|
export = inst;
|