From 140fba84538422c5b7465a971bf8bf6acef15e34 Mon Sep 17 00:00:00 2001 From: Adam Cook Date: Wed, 15 Sep 2021 13:13:11 -0700 Subject: [PATCH] add missing decrement overload type --- types.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types.d.ts b/types.d.ts index cf7b22c..43084d7 100644 --- a/types.d.ts +++ b/types.d.ts @@ -81,6 +81,7 @@ declare module "hot-shots" { increment(stat: string | string[], value: number, sampleRate?: number, callback?: StatsCb): void; decrement(stat: string): void; + decrement(stat: string, tags?: Tags): void; decrement(stat: string | string[], value: number, sampleRate?: number, tags?: Tags, callback?: StatsCb): void; decrement(stat: string | string[], value: number, tags?: Tags, callback?: StatsCb): void; decrement(stat: string | string[], value: number, callback?: StatsCb): void;