feige
2024-03-29 0188d5c81ee28ab2f42edc5d1db67c9cdb0db42d
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>;