fix
This commit is contained in:
15
book/node_modules/cpr/cpr.d.ts
generated
vendored
Normal file
15
book/node_modules/cpr/cpr.d.ts
generated
vendored
Normal file
@ -0,0 +1,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;
|
||||
}
|
Reference in New Issue
Block a user