aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/escalade/index.d.ts
blob: 26c58f2f3165162e35bf72c190d4c70955dbc9ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
type Promisable<T> = T | Promise<T>;

declare namespace escalade {
	export type Callback = (
		directory: string,
		files: string[],
	) => Promisable<string | false | void>;
}

declare function escalade(
	directory: string,
	callback: escalade.Callback,
): Promise<string | void>;

export = escalade;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage