unis_crm/frontend1/node_modules/rc-select/lib/hooks/useRefFunc.d.ts

6 lines
198 B
TypeScript
Raw Normal View History

2026-03-26 09:29:55 +00:00
/**
* Same as `React.useCallback` but always return a memoized function
* but redirect to real function.
*/
export default function useRefFunc<T extends (...args: any[]) => any>(callback: T): T;