UNPKG

alm

Version:

The best IDE for TypeScript

18 lines (15 loc) 653 B
// 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; function rimraf(path: string, options?:any, callback?: (error: Error) => void): void; module rimraf { export function sync(path: string, options?: any): void; export var EMFILE_MAX: number; export var BUSYTRIES_MAX: number; } export = rimraf; }