Newer
Older
vue-indexer / node_modules / escalade / index.d.mts
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 236 bytes v1.0
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>;