diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 5f1177da80..2386cf10f5 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -3721,7 +3721,10 @@ declare namespace Deno { */ export function truncateSync(name: string, len?: number): void; - /** @category Observability */ + /** @category Observability + * + * @deprecated This API has been deprecated in Deno v1.37.1. + */ export interface OpMetrics { opsDispatched: number; opsDispatchedSync: number; @@ -3736,7 +3739,10 @@ declare namespace Deno { bytesReceived: number; } - /** @category Observability */ + /** @category Observability + * + * @deprecated This API has been deprecated in Deno v1.37.1. + */ export interface Metrics extends OpMetrics { ops: Record; } @@ -3765,6 +3771,8 @@ declare namespace Deno { * ``` * * @category Observability + * + * @deprecated This API has been deprecated in Deno v1.37.1. */ export function metrics(): Metrics;