Closed arve0 closed 4 years ago
Hi! Thanks for the lib. Would be nice to have support for typescript.
Now I have to declare the module manually in types.d.ts:
declare module 'http2-client' { import { RequestOptions, IncomingMessage, ClientRequest } from 'http' let request: (options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void) => ClientRequest }
Correct! will do..
Thank you
Hi! Thanks for the lib. Would be nice to have support for typescript.
Now I have to declare the module manually in types.d.ts: