feige
2023-08-08 99587f7a5b5daf2f8eef939cd65df37bb0cb035e
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>;