UNPKG

@appello/common

Version:

Common package with many useful features for web and mobile development

6 lines (5 loc) 210 B
import { AnyObject } from '../../types'; export declare function useStateObject<T extends AnyObject>(initialValue: T): { state: T; handleUpdate: (arg: ((obj: T) => Partial<T>) | Partial<T>) => void; };