ados-rcm 1.0.79 → 1.0.81

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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * useValues
3
4
  * Notice 1 : useValues uses conditional hook. YOU SHOULD NEVER change the conditions. or it will boom
@@ -8,5 +9,5 @@
8
9
  * 4. use === [T, (newState: T) => void] 이면 use (external value, external setter)
9
10
  *
10
11
  */
11
- export type TUseValues<T> = [T] | [T, ((newState: T) => void) | undefined];
12
- export declare function useValues<T>(use: TUseValues<T> | undefined, defaultValue: T): [T, ((newState: T) => void) | undefined];
12
+ export type TUseValues<T, K = T> = [T] | [T, ((newState: K) => void) | undefined];
13
+ export declare function useValues<T, K = T>(use: TUseValues<T, K> | undefined, defaultValue: T): [T, ((newState: K) => void) | undefined] | [T, import("react").Dispatch<import("react").SetStateAction<T>>];