mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-18 20:37:14 +08:00
16 lines
548 B
TypeScript
16 lines
548 B
TypeScript
// Type definitions for rimraf
|
|
// Project: https://github.com/isaacs/rimraf
|
|
// Definitions by: Carlos Ballesteros Velasco <https://github.com/soywiz>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
// Imported from: https://github.com/soywiz/typescript-node-definitions/rimraf.d.ts
|
|
|
|
|
|
declare function rimraf(path: string, callback: (error: Error) => void): void;
|
|
declare namespace rimraf {
|
|
export function sync(path: string): void;
|
|
export var EMFILE_MAX: number;
|
|
export var BUSYTRIES_MAX: number;
|
|
}
|
|
export = rimraf;
|