DEV Community

Discussion on: Advanced TypeScript: reinventing lodash.get

Collapse
 
busches profile image
Scott Busche

Wouldn't it be possible to add this type inference to _.get's typings, why do you have to make a new method?

Collapse
 
lizheming profile image
Austin Lee

yeah, I'm agree with you. so I create a pull request to @types/lodash with the code, now you can update to latest version if youo use _.get()