Open kripod opened 8 years ago
I think better place for type definitions is https://github.com/flowtype/flow-typed
@indutny Is there a chance that minimal type definitions will ever be added? At least to cover the methods written inside the README. I’m working on a mental poker library, and it would be important to:
privateKey.invm(ec.n)
)If there's still any interest in this, I'd definitely be willing to help with TypeScript definitions. I need them for a project I'm working on so I'm going to at least get a start on them, if anyone wants to help out that would be awesome.
Cryptographical operations can often get complicated. Adding proper type definitions would greatly improve developer experience.