@types/dlv
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

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, key: string | Array<string | number>, defaultValue?: any): any;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Ryan Sonshine.

/@types/dlv/

    Package Sidebar

    Install

    npm i @types/dlv

    Weekly Downloads

    90,295

    Version

    1.1.4

    License

    MIT

    Unpacked Size

    3.06 kB

    Total Files

    5

    Last publish

    Collaborators

    • types