Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Commit 3db6c97

Browse files
fix(typescript): add number and boolean types to label value (#577)
1 parent 54719bb commit 3db6c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ declare module 'epsagon' {
2323
batchSize?: number
2424
maxBatchSizeBytes?: number
2525
}): void
26-
export function label(key: string, value: string): void
26+
export function label(key: string, value: string | number | boolean): void
2727
export function unpatch(): void
2828
export function setError(error: Error): void
2929
export function setWarning(error: Error): void

0 commit comments

Comments
 (0)