feige
2023-12-05 45b19cb64db7a8e70ed1d25b16bfe0ca93576267
1
2
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>;