first commit
This commit is contained in:
5
frontend/node_modules/rc-select/lib/hooks/useRefFunc.d.ts
generated
vendored
Normal file
5
frontend/node_modules/rc-select/lib/hooks/useRefFunc.d.ts
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
/**
|
||||
* 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;
|
||||
Reference in New Issue
Block a user