Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/dlv) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Installation
npm install --save @types/dlv
Summary
This package contains type definitions for dlv (https://github.com/developit/dlv#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dlv.
index.d.ts
/**
* Safely get a dot-notated path within a nested object, with ability to
* return a default if the full key path does not exist or the value is
* undefined
*/
export = dlv;
declare function dlv(object: object | undefined, key: string | Array<string | number>, defaultValue?: any): any;
Additional Details
- Last updated: Wed, 13 Nov 2024 14:35:07 GMT
- Dependencies: none
Credits
These definitions were written by Ryan Sonshine.