feige
2024-08-21 f81e83fca9cfca4d5149450433d9650b9dd59197
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>;