Tcsm
2023-07-30 b5a8a482a5eede229ffea6b8de6ba2b8f06ac0c4
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>;