File: cpr.d.ts

package info (click to toggle)
node-cpr 3.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 244 kB
  • sloc: javascript: 591; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 398 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/**
 * Nodejs cp -R
 */
declare module "cpr" {
    function cpr (from: string, to: string, options?: cpr.CprOptions, callback?: (err: any, files: string[]) => void): void;
    namespace cpr {
        interface CprOptions {
            deleteFirst?: boolean;
            overwrite?: boolean;
            confirm?: boolean;
            filter?: RegExp | Function;
        }
    }
    export = cpr;
}