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:
Carlos Rodriguez
2019-04-15 18:18:49 -05:00
parent 088ff5a063
commit 48d883b7f2

2
index.d.ts vendored
View File

@@ -9,7 +9,7 @@ interface Labels {
interface Opts {
autoregister?: boolean;
buckets?: [number];
buckets?: number[];
customLabels?: { [key: string]: any };