Skip to content

Type definitions missing for mapValues in LodashExplicitObjectWrapperΒ #28

@daprahamian

Description

@daprahamian

These types are defined in DefinitelyTyped, but are not located here. Because of this, the following is valid:

const items = _(someObj)
      .pickBy((item) => ...)
      .mapValues((item) => ...)
      .value();

but this is invalid:

const items = _.chain(someObj)
      .pickBy((item) => ...)
      .mapValues((item) => ...)
      .value();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions