aboutsummaryrefslogtreecommitdiff
path: root/node_modules/escalade/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/escalade/index.d.ts')
-rw-r--r--node_modules/escalade/index.d.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/node_modules/escalade/index.d.ts b/node_modules/escalade/index.d.ts
new file mode 100644
index 0000000..283e398
--- /dev/null
+++ b/node_modules/escalade/index.d.ts
@@ -0,0 +1,3 @@
+type Promisable<T> = T | Promise<T>;
+export type Callback = (directory: string, files: string[]) => Promisable<string | false | void>;
+export default function (directory: string, callback: Callback): Promise<string | void>;