HiBob Interview Question

Implement denounce in typescript. Use generic types.