Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankenny committed Jun 20, 2023
1 parent aa9de36 commit 581705c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/initMetric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const initMetric = <MetricName extends Metric['name']>(
return {
name,
value: typeof value === 'undefined' ? -1 : value,
rating: 'good' as const, // Will be updated if the value changes.
rating: 'good' as const, // If needed, will be updated when reported. `const` to keep the type from widening to `string`.
delta: 0,
entries,
id: generateUniqueID(),
Expand Down

0 comments on commit 581705c

Please sign in to comment.