This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/flow-typed/npm/rimraf_v2.x.x.js

21 lines
516 B
JavaScript

// flow-typed signature: 8b21843f43134917177d82a3b993b609
// flow-typed version: c6154227d1/rimraf_v2.x.x/flow_>=v0.104.x
declare module 'rimraf' {
declare type Options = {
maxBusyTries?: number,
emfileWait?: number,
glob?: boolean,
disableGlob?: boolean,
...
};
declare type Callback = (err: ?Error, path: ?string) => void;
declare module.exports: {
(f: string, opts?: Options | Callback, callback?: Callback): void,
sync(path: string, opts?: Options): void,
...
};
}