Tcsm
2023-06-05 1e5de8f8649313177df4911a265182c9c3d5e9ab
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>;