foxact 0.2.8-alpha.0 → 0.2.8
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.
package/package.json
CHANGED
package/use-stable-handler-only-when-you-know-what-you-are-doing-or-you-will-be-fired/index.d.ts
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* - No dependency lists required
|
|
5
5
|
* - Properties or state accessed within the callback will always be "current"
|
|
6
6
|
*/
|
|
7
|
-
declare function useStableHandler<Args extends any[], Result>(callback: (...args: Args) => Result):
|
|
7
|
+
declare function useStableHandler<Args extends any[], Result>(callback: (...args: Args) => Result): typeof callback;
|
|
8
8
|
|
|
9
9
|
export { useStableHandler };
|