Made the functions once, debounce, throttle, after to accept function with generics signature. The function returened from these functions will have signature as the functions passed into them, compiler should be made aware of this.