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

remove lodash dependencies (fixes build too) #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

clanghout
Copy link
Member

The @types/lodash dependency was causing issues in the build. I didn't see the benefit of keeping the external dependency in for the few functions used.

Other changes caused by autoformatting. I guess my editor used the tslint config that is already included in the project.

Also added the yarn.lock file to lock the dependency versions in the repo.

Comment on lines +6 to +8
public static isNullOrUndefined(o: any): boolean {
return o == null
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be tested? (Ergo does it work with undefined)

Comment on lines +24 to +26
public static deepCopy(value: object): object {
return JSON.parse(JSON.stringify(value))
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the best/fastest of doing this?

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

Successfully merging this pull request may close these issues.

None yet

2 participants