feige
2024-11-15 3910b79b0549b583387ff96ef5a21a2ad5313631
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>;