/** * This is an escape hatch for the case where an event handler function depends on some states that changes too often thus the event handle is recreated frequently which causes bugs in some edge cases. * * For example if an old callback is called, it may not use the most recent props, but the previous props when that callback was created. */ type Fn = (...args: ARGS) => R; declare const useEventCallback: (fn: Fn) => Fn; export default useEventCallback; //# sourceMappingURL=useEventCallback.d.ts.map