UNPKG

@rc-component/util

Version:
3 lines (2 loc) 88 B
declare function useEvent<T extends Function>(callback: T): T; export default useEvent;