summaryrefslogtreecommitdiff
path: root/tiny-warning/flow-typed/npm/rimraf_v2.x.x.js
diff options
context:
space:
mode:
Diffstat (limited to 'tiny-warning/flow-typed/npm/rimraf_v2.x.x.js')
-rw-r--r--tiny-warning/flow-typed/npm/rimraf_v2.x.x.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/tiny-warning/flow-typed/npm/rimraf_v2.x.x.js b/tiny-warning/flow-typed/npm/rimraf_v2.x.x.js
new file mode 100644
index 0000000..13b8524
--- /dev/null
+++ b/tiny-warning/flow-typed/npm/rimraf_v2.x.x.js
@@ -0,0 +1,18 @@
+// flow-typed signature: 1dff23447d5e18f5ac2b05aaec7cfb74
+// flow-typed version: a453e98ea2/rimraf_v2.x.x/flow_>=v0.25.0
+
+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;
+ };
+}