react-simplikit 0.0.22 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,7 +20,7 @@ declare function throttle<F extends (...args: any[]) => void>(func: F, throttleM
|
|
|
20
20
|
* This is useful for limiting the rate at which a function can be called,
|
|
21
21
|
* such as when handling scroll or resize events.
|
|
22
22
|
*
|
|
23
|
-
|
|
23
|
+
@template {(...args: any[]) => any} F - The type of the callback function.
|
|
24
24
|
* @param {F} callback - The function to be throttled.
|
|
25
25
|
* @param {number} wait - The number of milliseconds to throttle invocations to.
|
|
26
26
|
* @param {{ edges?: Array<'leading' | 'trailing'> }} [options] - Options to control the behavior of the throttle.
|
|
@@ -20,7 +20,7 @@ declare function throttle<F extends (...args: any[]) => void>(func: F, throttleM
|
|
|
20
20
|
* This is useful for limiting the rate at which a function can be called,
|
|
21
21
|
* such as when handling scroll or resize events.
|
|
22
22
|
*
|
|
23
|
-
|
|
23
|
+
@template {(...args: any[]) => any} F - The type of the callback function.
|
|
24
24
|
* @param {F} callback - The function to be throttled.
|
|
25
25
|
* @param {number} wait - The number of milliseconds to throttle invocations to.
|
|
26
26
|
* @param {{ edges?: Array<'leading' | 'trailing'> }} [options] - Options to control the behavior of the throttle.
|