mirror of
https://github.com/BreizhHardware/express-prom-bundle.git
synced 2026-03-18 21:30:38 +01:00
Fix the definition of the Opts interface
The `buckets` property was defined as a `Tuple` (`[number]`) instead of an Array (`number[]`).
This commit is contained in:
2
index.d.ts
vendored
2
index.d.ts
vendored
@@ -9,7 +9,7 @@ interface Labels {
|
||||
|
||||
interface Opts {
|
||||
autoregister?: boolean;
|
||||
buckets?: [number];
|
||||
buckets?: number[];
|
||||
|
||||
customLabels?: { [key: string]: any };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user