--- id: debounce title: debounce --- # Function: debounce() ```ts function debounce(func, timeout): (...args) => void; ``` Defined in: [helpers.ts:57](https://github.com/crutchcorn/cli-testing-library/blob/main/packages/cli-testing-library/src/helpers.ts#L57) ## Type Parameters ### T `T` *extends* (...`args`) => `void` ## Parameters ### func `T` ### timeout `number` ## Returns (...`args`) => `void`