feige
2024-02-28 3b7ed32fb0d22be7d1b7e23e7101e29a5b2dfb40
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>;