UNPKG

mg-js

Version:

A set of useful functions, components and hooks.

8 lines (7 loc) 236 B
type returnValues = [ any, (keyOrObject: string | object, value?: any) => void, (resetVal: any) => void ]; declare const useObjectState: (initObject: object | string[]) => returnValues; export default useObjectState;