UNPKG

mod-arch-shared

Version:

Shared library for modular architecture micro-frontend projects

9 lines 354 B
import { UpdateObjectAtPropAndValue } from '../types'; export type GenericObjectState<T> = [ data: T, setData: UpdateObjectAtPropAndValue<T>, resetDefault: () => void ]; declare const useGenericObjectState: <T>(defaultData: T) => GenericObjectState<T>; export default useGenericObjectState; //# sourceMappingURL=useGenericObjectState.d.ts.map