mirror of
https://github.com/denoland/deno
synced 2024-08-27 12:00:17 +00:00
chore: define removal version for Deno.metrics()
(#21872)
Sets the removal version for `Deno.metrics()` to be v2.
This commit is contained in:
parent
a918804ee0
commit
f46c03d6b4
6
cli/tsc/dts/lib.deno.ns.d.ts
vendored
6
cli/tsc/dts/lib.deno.ns.d.ts
vendored
|
@ -3759,7 +3759,7 @@ declare namespace Deno {
|
|||
|
||||
/** @category Observability
|
||||
*
|
||||
* @deprecated This API has been deprecated in Deno v1.37.1.
|
||||
* @deprecated {@linkcode Deno.metrics} will be removed in v2.0.0.
|
||||
*/
|
||||
export interface OpMetrics {
|
||||
opsDispatched: number;
|
||||
|
@ -3777,7 +3777,7 @@ declare namespace Deno {
|
|||
|
||||
/** @category Observability
|
||||
*
|
||||
* @deprecated This API has been deprecated in Deno v1.37.1.
|
||||
* @deprecated {@linkcode Deno.metrics} will be removed in v2.0.0.
|
||||
*/
|
||||
export interface Metrics extends OpMetrics {
|
||||
ops: Record<string, OpMetrics>;
|
||||
|
@ -3808,7 +3808,7 @@ declare namespace Deno {
|
|||
*
|
||||
* @category Observability
|
||||
*
|
||||
* @deprecated This API has been deprecated in Deno v1.37.1.
|
||||
* @deprecated {@linkcode Deno.metrics} will be removed in v2.0.0.
|
||||
*/
|
||||
export function metrics(): Metrics;
|
||||
|
||||
|
|
Loading…
Reference in a new issue