This release updates the TypeScript types for this project, and doesn’t include any changes to functionality. There are also no changes since v0.11.4-a.1.
Bug Fixes:
-
BufferedMetricsLogger
is now an actual class & type when you import it in TypeScript. That is, you can now do:import { BufferedMetricsLogger } from 'datadog-metrics'; function useLogger(logger: BufferedMetricsLogger) { // ... }
Previously, you would have had to declare the type for
logger
astypeof BufferedMetricsLogger.prototype
. (#120)