From e36f0c6600ca0a60c511733eef05b38b43610283 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 21 Mar 2024 10:58:56 +1300 Subject: [PATCH] fix example --- packages/effect/src/Metric.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/effect/src/Metric.ts b/packages/effect/src/Metric.ts index afe54947a9..9a865186c8 100644 --- a/packages/effect/src/Metric.ts +++ b/packages/effect/src/Metric.ts @@ -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