Skip to content

Commit

Permalink
Add return type to internal function
Browse files Browse the repository at this point in the history
  • Loading branch information
gastonfournier committed Oct 18, 2024
1 parent d6577d4 commit 9bb125c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/metrics-gauge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class DbMetricsMonitor {

private async fetch<T, L extends string>(
definition: GaugeDefinition<T, L>,
) {
): Promise<MetricValue<L>[]> {
const result = await definition.query();
if (
result !== undefined &&
Expand Down

0 comments on commit 9bb125c

Please sign in to comment.