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

Commit

Permalink
fix(typescript): add number and boolean types to label value (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeduboc committed Mar 20, 2022
1 parent 54719bb commit 3db6c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Expand Up @@ -23,7 +23,7 @@ declare module 'epsagon' {
batchSize?: number
maxBatchSizeBytes?: number
}): void
export function label(key: string, value: string): void
export function label(key: string, value: string | number | boolean): void
export function unpatch(): void
export function setError(error: Error): void
export function setWarning(error: Error): void
Expand Down

0 comments on commit 3db6c97

Please sign in to comment.