forked from ard/ruoyi-api

‘liusuyi’
2024-01-13 131b6c120db336ca5c2052b877be90ee201614db
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>;