Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Mar 20, 2024
1 parent 4200bd6 commit e36f0c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/effect/src/Metric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ export const counter: {
* @example
* import * as Metric from "effect/Metric"
*
* const errorFrequency = Metric.frequency("error_frequency", "Counts the occurrences of errors.");
* const errorFrequency = Metric.frequency("error_frequency", {
* description: "Counts the occurrences of errors."
* });
*
* @since 2.0.0
* @category constructors
Expand Down

0 comments on commit e36f0c6

Please sign in to comment.