You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.
This is a recent change from node-dogstatsd to hotshots since the latter is a lot more active. It looks like the TypeScript definitions are community-maintained at DefinitelyTyped. I can submit a PR but in the meantime I would recommend using declaration merging to resolve the error.
Docs says the statsd lib is
node-dogstatsd
but I couldn't find the options I was looking for so I had a look in the code https://github.com/DataDog/node-connect-datadog/blob/master/lib/index.js#L4 and realized the doc was misleading: the statsd client ishot-shots
.Moreover typing definitions seems wrong:
I get the typescript error:
Type 'StatsD' is missing the following properties from type 'StatsDClient': incrementBy, decrementBy
because the expected type comes from
node-dogstatsd
:import { StatsDClient } from 'node-dogstatsd'
The text was updated successfully, but these errors were encountered: