forked from ard/ruoyi-api

Administrator
2023-10-26 80bee26f6187d5c9a9df28fde14fe40ab8170566
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>;