mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
* feat(rimraf): add the missing options types * feat(rimraf): add tslint.json * refactor: format code
11 lines
259 B
TypeScript
11 lines
259 B
TypeScript
import rimraf = require('rimraf');
|
|
|
|
rimraf('./xyz', (err: Error) => { });
|
|
rimraf.sync('./xyz');
|
|
|
|
rimraf('./xyz', { glob: { ignore: '' } }, (err: Error) => { });
|
|
rimraf.sync('./xyz', { glob: { ignore: '' } });
|
|
|
|
rimraf.EMFILE_MAX = 0;
|
|
rimraf.BUSYTRIES_MAX = 0;
|