Closed casamia918 closed 3 years ago
Actually there is a real issue with types here, findDeep return type should not be IDeepEntry, but a separate type.
I have no time and very low motivation for this issue, because I am not using TS. For the same reason it's difficult for me to develop TS-related stuff. So if someone from TS world have free time to take a look at this issue - PR is very welcome.
For now, IDeepEntry interface is defined as above. But it has no context field. Which should be
IIterateeContext
Also, the type of parent field is defined as IDeepEntry. But when I call findDeep, type of returnedObj.parent is not IDeepEntry (it is parent.value obj)