1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 08:09:08 -05:00

chore: fix typos in HrtimePermissionDescriptor and performance.now docs (#19469)

This commit is contained in:
andy 2023-06-16 13:38:36 +01:00 committed by GitHub
parent d32287d211
commit faf6eaf2d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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 */

View file

@ -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();