summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/escalade/index.d.mts
blob: 550699cf98e1c9b4de9b01128d072c1d8f6bd7e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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>;