diff options
author | andy <20419603+andyesterhuizen@users.noreply.github.com> | 2023-06-16 13:38:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 14:38:36 +0200 |
commit | faf6eaf2d3899aee3fba50a6c0d04d7e98b5f892 (patch) | |
tree | daf45766e8ac25b1d639fa82fb9819dac755d1f2 | |
parent | d32287d2111ec7b845e09c7cfe6a5d779c5f3bd1 (diff) |
chore: fix typos in HrtimePermissionDescriptor and performance.now docs (#19469)
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 4 | ||||
-rw-r--r-- | 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 0247eda9c..cad8c6f55 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 603cc78f2..d11e2933b 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(); |