yz3456
2024-05-14 7bbf99f0f2030d2d0672aa8d7e46ddf3cc4ab19a
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>;