路泰科技体检小程序UI设计新版本
qx
2025-08-06 fe97f78b9a343ee9fa45a3531d03d73dcd1df31b
1
2
3
4
5
6
7
8
9
10
11
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>;