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

typescript/type for hash should probably be any, and not object #111

Open
cmawhorter opened this issue Dec 6, 2021 · 0 comments
Open

typescript/type for hash should probably be any, and not object #111

cmawhorter opened this issue Dec 6, 2021 · 0 comments

Comments

@cmawhorter
Copy link

this is a minor issue, but the first arg should probably be any instead of object, right? the hasher seems to support it. currently i've just been doing objectHash(value as any, ...).

object-hash/index.js

Lines 23 to 24 in 676c3bc

* @param {object} object value to hash
* @param {object} options hashing options

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

No branches or pull requests

1 participant