multiformats / js-multihashing

Use all the functions in multihash.
MIT License
11 stars 18 forks source link

feat: add flow annotations #27

Open garrensmith opened 6 years ago

garrensmith commented 6 years ago

This adds flow annotations to multihashing.

This is part of https://github.com/ipfs/js-ipfs/issues/1260

garrensmith commented 6 years ago

The tests will fail until https://github.com/multiformats/js-multihash/pull/47 is merged in since I use some of the types based off of that PR.

vmx commented 6 years ago

I hope that it's still possible without too much hassle. Could you please use prettier-standard, it matches the current code style better. I would also suggest to make it two separate commits. First the prettier-standard run without any other changes and then the commit with the actual annotation and tooling changes?