hisco / http2-client

Transparently make http request to both http1 / http2 server.
https://www.npmjs.com/package/http2-client
MIT License
33 stars 14 forks source link

Typescript support #31

Open ZzZombo opened 3 years ago

ZzZombo commented 3 years ago

I'm trying to use your package, but due to lack of Typescript definitions I am at an impasse. I tried to handwrite them myself, but the code is too difficult to reason about, no offense, just being unfamiliar with the codebase and lack of documentation or comments.

Could you kindly provide them? If not, could you annotate the return types of exports and function prototypes? I could then put them together. Thanks in advance.