@cripty2001/utils 0.0.75 → 0.0.76
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/dist/react-whispr.d.ts +1 -1
- package/package.json +1 -1
package/dist/react-whispr.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare function useDebounced<T>(value: T): T;
|
|
|
49
49
|
* @param setValue The function to set the value
|
|
50
50
|
* @returns The synced value and the function to set it
|
|
51
51
|
*/
|
|
52
|
-
export declare function useSynced<T extends any>(def: T, value: T | undefined, setValue: ((value: T) => void) | undefined): [T,
|
|
52
|
+
export declare function useSynced<T extends any>(def: T, value: T | undefined, setValue: ((value: T) => void) | undefined): [T, React.Dispatch<React.SetStateAction<T>>];
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* Wraps an async function into a reactable data.
|
package/package.json
CHANGED