-
Notifications
You must be signed in to change notification settings - Fork 30.6k
Closed
Description
- I tried using the latest
lodash/index.d.tsfile in this repo and had problems. - I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript
- I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).
- I want to talk about
lodash/index.d.ts.
If I call _mapKeys(object, ...) with object being type Object, TypeScript gives the following error when it tries to compile:
error TS2345: Argument of type 'Object' is not assignable to parameter of type 'List<{}> | Dictionary<{}>'
I think this should work judging by Lodash's documention: https://lodash.com/docs/4.17.4#mapKeys
There was a similar problem in the past regarding _.some(), found here: #8630
Could you please look into this?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels