silas / node-consul

Consul client
https://www.npmjs.com/package/consul
MIT License
560 stars 83 forks source link

TypeScript Support for consul.query #131

Closed StefanTurbine closed 1 year ago

StefanTurbine commented 2 years ago

Hello there,

I am trying to integrate the prepared statements of your consul client into a typescript application. Sadly the types seem to not include the query part of your client. Am I using the wrong Types here or is this a bug worth fixing? The following versions are being used:

image

silas commented 1 year ago

As mentioned the types are maintained in DefinitelyTyped and I've never contributed to it. I created a general ticket to track adding TypeScript support to this repository (see https://github.com/silas/node-consul/issues/142).