From 201737c518237b271b5bbbd8e2b1fd19ce51fdd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 14 Feb 2023 12:35:38 +0100 Subject: feat: stabilize Deno.osUptime() (#17554) This commit stabilizes "Deno.osUptime()" API. The "--unstable" flag is no longer required to use this API. --- cli/tsc/dts/lib.deno.unstable.d.ts | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'cli/tsc/dts/lib.deno.unstable.d.ts') diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index e2abab26d..822425d05 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -1406,21 +1406,6 @@ declare namespace Deno { * @category HTTP Server */ export function upgradeHttpRaw(request: Request): [Deno.Conn, Uint8Array]; - - /** **UNSTABLE**: New API, yet to be vetted. - * - * Returns the Operating System uptime in number of seconds. - * - * ```ts - * console.log(Deno.osUptime()); - * ``` - * - * Requires `allow-sys` permission. - * - * @tags allow-sys - * @category Runtime Environment - */ - export function osUptime(): number; } /** **UNSTABLE**: New API, yet to be vetted. -- cgit v1.2.3