Skip to content

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.

2 participants