indutny / elliptic

Fast Elliptic Curve Cryptography in plain javascript
1.7k stars 376 forks source link

Add FlowType / TypeScript definitions #99

Open kripod opened 8 years ago

kripod commented 8 years ago

Cryptographical operations can often get complicated. Adding proper type definitions would greatly improve developer experience.

fanatid commented 8 years ago

I think better place for type definitions is https://github.com/flowtype/flow-typed

kripod commented 7 years ago

@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:

colatkinson commented 7 years ago

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.