UNPKG

119 BTypeScriptView Raw
1export default function useEventCallback<TCallback extends (...args: any[]) => any>(fn?: TCallback | null): TCallback;