UNPKG

136 BTypeScriptView Raw
1type noop = (this: any, ...args: any[]) => any;
2declare function useMemoizedFn<T extends noop>(fn: T): T;
3export default useMemoizedFn;