We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfa6623 commit 6c0d777Copy full SHA for 6c0d777
index.d.ts
@@ -207,7 +207,7 @@ declare module "@uidotdev/usehooks" {
207
208
export function useNetworkState(): NetworkState;
209
210
- export function useObjectState<T>(initialValue: T): [T, (arg: T) => void];
+ export function useObjectState<T>(initialValue: T): [T, (arg: Partial<T>) => void];
211
212
export function useOrientation(): {
213
angle: number;
0 commit comments