mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +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)
12 lines
185 B
TypeScript
12 lines
185 B
TypeScript
/// <reference path="rimraf.d.ts" />
|
|
|
|
import rimraf = require('rimraf');
|
|
|
|
rimraf('./xyz', (err: Error) => {
|
|
|
|
});
|
|
rimraf.sync('./xyz');
|
|
|
|
rimraf.EMFILE_MAX = 0;
|
|
rimraf.BUSYTRIES_MAX = 0;
|