We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba0364d commit a7c8541Copy full SHA for a7c8541
client/src/Hooks/useDebouncedFunction.hook.js
@@ -1,9 +1,13 @@
1
/** @file useDebouncedFunction.hook.js */
2
import { useEffect, useReducer } from 'react';
3
4
+/**
5
+ * @callback voidCallback
6
+ * @param arg
7
+ */
8
/**
9
* Хук Debounced Function
- * @param {(arg)=>void} callback
10
+ * @param {voidCallback} callback
11
* @param {number} delayms
12
*/
13
function useDebouncedFunction(callback, delayms) {
0 commit comments