useEventCallback.d.ts 119 Bytes
Newer Older
Sangjune Bae's avatar
Sangjune Bae committed
1
export default function useEventCallback<TCallback extends (...args: any[]) => any>(fn?: TCallback | null): TCallback;