forked from ard/ruoyi-api

Administrator
2023-08-08 85681b3f89d2287b948870f79a2eef780480b6a7
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>;