Installation
npm install --save @types/get-value
Summary
This package contains type definitions for get-value (https://github.com/jonschlinkert/get-value).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-value.
export = get;
declare function get<T>(obj: T): T;
declare function get(obj: object, key: string | string[], options?: get.Options): any;
declare namespace get {
interface Options {
default?: any;
isValid?: (<K extends string>(key: K, object: Record<K, any>) => boolean) | undefined;
split?: ((s: string) => string[]) | undefined;
separator?: string | RegExp | undefined;
join?: ((segs: string[]) => string) | undefined;
joinChar?: string | undefined;
}
}
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Daniel Rosenwasser.