From aaa5e6613a739f8e2ff7579b69c2504bcdc37d4f Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Sat, 19 Sep 2020 22:30:59 +0100 Subject: fix(cli/rt): make some web API constructors illegal at runtime (#7468) --- cli/dts/lib.deno.unstable.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/dts/lib.deno.unstable.d.ts') diff --git a/cli/dts/lib.deno.unstable.d.ts b/cli/dts/lib.deno.unstable.d.ts index 04c08b893..2dcd94f75 100644 --- a/cli/dts/lib.deno.unstable.d.ts +++ b/cli/dts/lib.deno.unstable.d.ts @@ -130,11 +130,11 @@ declare namespace Deno { */ export function osRelease(): string; - /** **Unstable** new API. yet to be vetted. + /** **Unstable** new API. yet to be vetted. * * Displays the total amount of free and used physical and swap memory in the * system, as well as the buffers and caches used by the kernel. - * + * * This is similar to the `free` command in Linux * * ```ts @@ -1113,7 +1113,7 @@ declare namespace Deno { /** see: https://w3c.github.io/permissions/#permissionstatus */ export class PermissionStatus { state: PermissionState; - constructor(state: PermissionState); + constructor(); } /** **UNSTABLE**: New API, yet to be vetted. Additional consideration is still -- cgit v1.2.3