mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
522 B
TypeScript
16 lines
522 B
TypeScript
// Type definitions for prometheus-gc-stats 0.6
|
|
// Project: https://github.com/SimenB/node-prometheus-gc-stats
|
|
// Definitions by: Daniel Byrne <https://github.com/danwbyrne>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare namespace prometheusGcStats {
|
|
interface Config {
|
|
prefix?: string;
|
|
}
|
|
}
|
|
|
|
// register is typeof require('prom-client').Registry which has its own .d.ts
|
|
declare function gcStats(register: any, config?: prometheusGcStats.Config): () => void;
|
|
|
|
export = gcStats;
|