type IFunc = (this: unknown, ...args: T) => R; type ICallback = (this: unknown, ...args: T[]) => any; /** * 函数柯里化 * @param func 执行函数。 * @param args 函数(func)参数集合。 * @returns 待执行函数 * @see {@link https://hyhello.github.io/utils/#/curry 在线文档} */ export default function curry(func: IFunc, ...args: T[number][]): ICallback; export {};