Installation
npm install --save @types/prometheus-gc-stats
Summary
This package contains type definitions for prometheus-gc-stats (https://github.com/SimenB/node-prometheus-gc-stats).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prometheus-gc-stats.
index.d.ts
declare namespace prometheusGcStats {
interface Config {
prefix?: string | undefined;
}
}
// register is typeof require('prom-client').Registry which has its own .d.ts
declare function gcStats(register: any, config?: prometheusGcStats.Config): () => void;
export = gcStats;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Daniel Byrne.