Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type definitions missing for mapValues in LodashExplicitObjectWrapper #28

Open
daprahamian opened this issue Sep 26, 2016 · 1 comment

Comments

@daprahamian
Copy link

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();
@tomfun
Copy link

tomfun commented Nov 2, 2016

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants