UNPKG

reakit

Version:

Toolkit for building accessible rich web apps with React

4 lines (3 loc) 364 B
import { DeepPath, DeepPathValue } from "../__utils/types"; export declare function unstable_getIn<T extends Record<any, any>, P extends DeepPath<T, P>, D>(object: T, path: P, defaultValue: D): D; export declare function unstable_getIn<T extends Record<any, any>, P extends DeepPath<T, P>>(object: T, path: P, defaultValue?: any): DeepPathValue<T, P> | undefined;