blob: 283e398db121709cd5027431c479d07d6e01464e [file] [log] [blame]
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>;