@cripty2001/utils 0.0.77 → 0.0.78

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.
@@ -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, handlers: [T, (value: T) => void]): [T, React.Dispatch<React.SetStateAction<T>>];
52
+ export declare function useSynced<T extends any>(def: T, handlers?: [T, (value: T) => void]): [T, React.Dispatch<React.SetStateAction<T>>];
53
53
  /**
54
54
  *
55
55
  * Wraps an async function into a reactable data.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.77",
3
+ "version": "0.0.78",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {