mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-29 11:12:23 +08:00
first batch: the easy pickings - as per https://github.com/borisyankov/DefinitelyTyped/issues/115 - added DT headers (scraped creators from git history) - added tests - some modifications - added CONTRIBUTORS.md for the substantial defs (>50 LOC)
17 lines
550 B
TypeScript
17 lines
550 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/borisyankov/DefinitelyTyped
|
|
|
|
// Imported from: https://github.com/soywiz/typescript-node-definitions/rimraf.d.ts
|
|
|
|
declare module "rimraf" {
|
|
function rimraf(path: string, callback: (error: Error) => void): void;
|
|
module rimraf {
|
|
export function sync(path: string): void;
|
|
export var EMFILE_MAX: number;
|
|
export var BUSYTRIES_MAX: number;
|
|
}
|
|
export = rimraf;
|
|
}
|