From faf6eaf2d3899aee3fba50a6c0d04d7e98b5f892 Mon Sep 17 00:00:00 2001 From: andy <20419603+andyesterhuizen@users.noreply.github.com> Date: Fri, 16 Jun 2023 13:38:36 +0100 Subject: [PATCH] chore: fix typos in HrtimePermissionDescriptor and performance.now docs (#19469) --- cli/tsc/dts/lib.deno.ns.d.ts | 4 ++-- cli/tsc/dts/lib.deno.shared_globals.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 0247eda9c5..cad8c6f558 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -4452,8 +4452,8 @@ declare namespace Deno { /** The permission descriptor for the `allow-hrtime` permission, which * controls if the runtime code has access to high resolution time. High - * resolution time is consider sensitive information, because it can be used - * by malicious code to gain information about the host that it might + * resolution time is considered sensitive information, because it can be used + * by malicious code to gain information about the host that it might not * otherwise have access to. * * @category Permissions */ diff --git a/cli/tsc/dts/lib.deno.shared_globals.d.ts b/cli/tsc/dts/lib.deno.shared_globals.d.ts index 603cc78f2e..d11e2933b8 100644 --- a/cli/tsc/dts/lib.deno.shared_globals.d.ts +++ b/cli/tsc/dts/lib.deno.shared_globals.d.ts @@ -579,7 +579,7 @@ declare class Performance extends EventTarget { /** Returns a current time from Deno's start in milliseconds. * - * Use the permission flag `--allow-hrtime` return a precise value. + * Use the permission flag `--allow-hrtime` to return a precise value. * * ```ts * const t = performance.now();