-
Notifications
You must be signed in to change notification settings - Fork 21
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
Likhith/create custom merge function #63
Likhith/create custom merge function #63
Conversation
Pull Request Test Coverage Report for Build 9902250963Details
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
[P in keyof T]?: TSources<T[P]>; | ||
}; | ||
|
||
const replaceValue = <T>(value: T, newValue: T): T => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking is it working fine if the length of value
and newValue
are different? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or here u're handling that ? 🤔
if (source[key] === null || source[key] === undefined) {
continue;
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignore the comment. it's irrelevant
🎉 This PR is included in version 0.0.29 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Created a
merge
function that can replace lodash.merge function. This can eliminate import of additional library